C# Class JsonWebToken.Cryptography.Hmac

Afficher le fichier Open project: uruk-project/Jwt Class Usage Examples

Méthodes publiques

Méthode Description
ComputeHash ( ReadOnlySpan source, Span destination ) : void

Computes the hash value.

ComputeHash ( ReadOnlySpan source, Span destination, Span W ) : void

Computes the hash value.

Hmac ( JsonWebToken.Cryptography.Sha2 sha2, ReadOnlySpan key, Span hmacKey ) : System

Initializes a new instance of the HmacSha2 class.

Method Details

ComputeHash() public méthode

Computes the hash value.
public ComputeHash ( ReadOnlySpan source, Span destination ) : void
source ReadOnlySpan
destination Span
Résultat void

ComputeHash() public méthode

Computes the hash value.
public ComputeHash ( ReadOnlySpan source, Span destination, Span W ) : void
source ReadOnlySpan
destination Span
W Span
Résultat void

Hmac() public méthode

Initializes a new instance of the HmacSha2 class.
public Hmac ( JsonWebToken.Cryptography.Sha2 sha2, ReadOnlySpan key, Span hmacKey ) : System
sha2 JsonWebToken.Cryptography.Sha2
key ReadOnlySpan
hmacKey Span
Résultat System