C# Class Jose.RsaOaep

Afficher le fichier Open project: senzacionale/xamarin-jose-jwt Class Usage Examples

Méthodes publiques

Méthode Description
Decrypt ( byte cipherText, System.Security.Cryptography.CngKey key, CngAlgorithm hash ) : byte[]
Encrypt ( byte plainText, System.Security.Cryptography.CngKey key, CngAlgorithm hash ) : byte[]

Method Details

Decrypt() public static méthode

public static Decrypt ( byte cipherText, System.Security.Cryptography.CngKey key, CngAlgorithm hash ) : byte[]
cipherText byte
key System.Security.Cryptography.CngKey
hash CngAlgorithm
Résultat byte[]

Encrypt() public static méthode

public static Encrypt ( byte plainText, System.Security.Cryptography.CngKey key, CngAlgorithm hash ) : byte[]
plainText byte
key System.Security.Cryptography.CngKey
hash CngAlgorithm
Résultat byte[]