메소드 | 설명 | |
---|---|---|
Decrypt ( string cipherText ) : string |
Decrypts specified ciphertext using Rijndael symmetric key algorithm. Most of the logic in this function is similar to the Encrypt logic. In order for decryption to work, all parameters of this function - except cipherText value - must match the corresponding parameters of the Encrypt function which was called to generate the ciphertext. |
|
Encrypt ( string plainText ) : string |
Encrypts specified plaintext using Rijndael symmetric key algorithm and returns a base64-encoded result.
|
public static Decrypt ( string cipherText ) : string | ||
cipherText | string | /// Base64-formatted ciphertext value. /// |
리턴 | string |
public static Encrypt ( string plainText ) : string | ||
plainText | string | /// Plaintext value to be encrypted. /// |
리턴 | string |