C# Class PassFruit.Security.Authorization

Datei anzeigen Open project: bettiolo/PassFruit Class Usage Examples

Public Methods

Method Description
Authorization ( MasterKey masterKey, Aes aes, HmacSha256 hmacSha256 ) : System

A new message is generated by encrypting a hard coded value with the provided Master Key and random generated Initialization Vector. The message is then passed to the hashing function and the key used is the provided Master Key.

Authorization ( MasterKey masterKey, byte initializationVector, Aes aes, HmacSha256 hmacSha256 ) : System

A message is generated by encrypting a hard coded value with the provided Master Key and Initialization Vector. The message is then passed to the hashing function and the key used is the provided Master Key.

Method Details

Authorization() public method

A new message is generated by encrypting a hard coded value with the provided Master Key and random generated Initialization Vector. The message is then passed to the hashing function and the key used is the provided Master Key.
public Authorization ( MasterKey masterKey, Aes aes, HmacSha256 hmacSha256 ) : System
masterKey MasterKey
aes PassFruit.Security.Cryptography.Aes
hmacSha256 PassFruit.Security.Cryptography.HmacSha256
return System

Authorization() public method

A message is generated by encrypting a hard coded value with the provided Master Key and Initialization Vector. The message is then passed to the hashing function and the key used is the provided Master Key.
public Authorization ( MasterKey masterKey, byte initializationVector, Aes aes, HmacSha256 hmacSha256 ) : System
masterKey MasterKey
initializationVector byte
aes PassFruit.Security.Cryptography.Aes
hmacSha256 PassFruit.Security.Cryptography.HmacSha256
return System