Method | Description | |
---|---|---|
Decrypt ( string cipherText, string password, byte salt ) : string |
Decrypts an encrypted text using specified password and salt.
|
|
Encrypt ( string clearText, string password, byte salt ) : string |
Encrypts a clear text using specified password and salt.
|
public Decrypt ( string cipherText, string password, byte salt ) : string | ||
cipherText | string | The text to decrypt. |
password | string | The password used to encrypt text. |
salt | byte | The salt added to encrypted text. |
return | string |
public Encrypt ( string clearText, string password, byte salt ) : string | ||
clearText | string | The text to encrypt. |
password | string | The password to create key for. |
salt | byte | The salt to add to encrypted text to make it more secure. |
return | string |