C# Class Renci.SshNet.Security.Cryptography.HMACSHA1

Computes a Hash-based Message Authentication Code (HMAC) by using the SHA1 hash function.
Inheritance: System.Security.Cryptography.HMACSHA1
Afficher le fichier Open project: sshnet/SSH.NET

Méthodes publiques

Méthode Description
HMACSHA1 ( byte key ) : System.Security.Cryptography

Initializes a HMACSHA1 with the specified key.

HMACSHA1 ( byte key, int hashSize ) : System.Security.Cryptography

Initializes a HMACSHA1 with the specified key and size of the computed hash code.

Méthodes protégées

Méthode Description
HashFinal ( ) : byte[]

Finalizes the hash computation after the last data is processed by the cryptographic stream object.

Method Details

HMACSHA1() public méthode

Initializes a HMACSHA1 with the specified key.
public HMACSHA1 ( byte key ) : System.Security.Cryptography
key byte The key.
Résultat System.Security.Cryptography

HMACSHA1() public méthode

Initializes a HMACSHA1 with the specified key and size of the computed hash code.
public HMACSHA1 ( byte key, int hashSize ) : System.Security.Cryptography
key byte The key.
hashSize int The size, in bits, of the computed hash code.
Résultat System.Security.Cryptography

HashFinal() protected méthode

Finalizes the hash computation after the last data is processed by the cryptographic stream object.
protected HashFinal ( ) : byte[]
Résultat byte[]