Crypto |
public class CryptoHelper
The CryptoHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| CryptoHelper | Initializes a new instance of the CryptoHelper class |
| Name | Description | |
|---|---|---|
| DecryptAES | Decrypt a base64 text with a key using AES | |
| DecryptTripleDES | Decrypt a base64 text with a key using Triple DES | |
| DecryptWithRSAContainer | Decrypt a base64 text using the RSA key pair stored in a key container | |
| EncryptAES | Encrypt a text with a key using AES, returned as a base64 string | |
| EncryptTripleDES | Encrypt a text with a key using Triple DES, returned as a base64 string | |
| EncryptWithRSAContainer | Encrypt a text using the RSA key pair stored in a key container, returned as a base64 string | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Hash | Hash a text with a salt using PBKDF2 (HMACSHA256, 100000 iterations), returned as a base64 string | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| RSADecrypt | Decrypt a base64 text with an RSA private key (XML format) | |
| RSAEncrypt | Encrypt a text with an RSA public key (XML format), returned as a base64 string | |
| RSASignData | Sign a data string with an RSA private key (XML format) using SHA256, returned as a base64 string | |
| RSAVerifySignature | Verify the RSA signature of a data string using a public key (XML format) and SHA256 | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| AESLicenseKey | AES key used to decrypt license files | |
| RSALicensePublicKey | RSA public key used to verify license file signatures |