C# Класс Renci.SshNet.Security.Cryptography.HMACSHA256

Computes a Hash-based Message Authentication Code (HMAC) by using the SHA256 hash function.
Наследование: System.Security.Cryptography.HMACSHA256
Показать файл Открыть проект

Открытые методы

Метод Описание
HMACSHA256 ( byte key ) : System.Security.Cryptography

Initializes a HMACSHA256 with the specified key.

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

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

Защищенные методы

Метод Описание
HashFinal ( ) : byte[]

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

Описание методов

HMACSHA256() публичный Метод

Initializes a HMACSHA256 with the specified key.
public HMACSHA256 ( byte key ) : System.Security.Cryptography
key byte The key.
Результат System.Security.Cryptography

HMACSHA256() публичный Метод

Initializes a HMACSHA256 with the specified key and size of the computed hash code.
public HMACSHA256 ( byte key, int hashSize ) : System.Security.Cryptography
key byte The key.
hashSize int The size, in bits, of the computed hash code.
Результат System.Security.Cryptography

HashFinal() защищенный Метод

Finalizes the hash computation after the last data is processed by the cryptographic stream object.
protected HashFinal ( ) : byte[]
Результат byte[]