Click or drag to resize

CryptographyHelper Methods

The CryptographyHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateMask
Creates a mask from the given encrypted value based on a private key
Public methodStatic memberCreateMaskAes
Creates a mask from the given AES encrypted value based on a private key
Public methodStatic memberCreateSalt32Bytes
Creates a random Salt with a length of 32 bytes
Public methodStatic memberDecode Obsolete.
Function which decode a Base64 string
Public methodStatic memberDecodeBase64
Function which decode a Base64 string
Public methodStatic memberDecrypt(String, String)
Function which decrypts a given string based on a private key
Public methodStatic memberDecrypt(String, String, Encoding)
Function which decrypts a given string based on a private key
Public methodStatic memberDecryptAes
Function which decrypts password using the AesCryptoServiceProvider algorithm
Public methodStatic memberDecryptAes256CbcHkdfHmac
Decrypts data produced by EncryptAes256CbcHkdfHmac.
Public methodStatic memberEncode Obsolete.
Function which encode a given string to Base64 string
Public methodStatic memberEncodeBase64
Function which encode a given string to Base64 string
Public methodStatic memberEncrypt(String, String)
Function which encrypts a given string based on a private key
Public methodStatic memberEncrypt(String, String, Encoding)
Function which encrypts a given string based on a private key
Public methodStatic memberEncryptAes
Function which encrypts password using the AesCryptoServiceProvider algorithm
Public methodStatic memberEncryptAes256CbcHkdfHmac
HKDF-based authenticated encryption using AES-256-CBC + HMAC (encrypt-then-MAC). Uses HKDF (HMAC-based Key Derivation Function) for per-message key separation. Features: Random salt, domain separation, version byte, and constant-time HMAC verification.
Public methodStatic memberEncryptSHA256
Function which encrypts password into a SHA256 hash
Public methodStatic memberEncryptSHA256FIPS
Function which encrypts password into a SHA256 hash FIPS compliant
Top
See Also