EncryptionUtil
public static class EncryptionUtilNo description is available for this type.
Methods
Section titled “Methods”
Encrypt(string)
Section titled “Encrypt(string)”public static string Encrypt(string plainText)Encrypts a string using AES encryption
Parameters
| Name | Type | Description |
|---|---|---|
plainText |
System.String | The text to encrypt |
Returns
System.String — Base64 encoded encrypted string
Decrypt(string)
Section titled “Decrypt(string)”public static string Decrypt(string cipherText)Decrypts a string that was encrypted using the Encrypt method
Parameters
| Name | Type | Description |
|---|---|---|
cipherText |
System.String | Base64 encoded encrypted string |
Returns
System.String — Decrypted plaintext string