C# Class PassFruit.Security.Authorization

Afficher le fichier Open project: bettiolo/PassFruit Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat System

Authorization() public méthode

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
Résultat System