Method | Description | |
---|---|---|
Decrypt ( string cipherText ) : string |
Decrypts a string previously encrypted with 256-bit AES
|
|
Encrypt ( string plainText ) : string |
Encrypts a string using AES 256-bit encryption
|
Method | Description | |
---|---|---|
GenerateEncryptionKey ( ) : byte[] | ||
GetEncryptionKey ( ) : byte[] | ||
LoadEncryptionKey ( ) : byte[] | ||
SaveEncryptionKey ( byte keyBytes ) : void |
public static Decrypt ( string cipherText ) : string | ||
cipherText | string | |
return | string |
public static Encrypt ( string plainText ) : string | ||
plainText | string | |
return | string |