|
static async Task< string > | EncryptAsync (string PlainText, string Password, string Salt="Kosher", string HashAlgorithm="SHA1", int PasswordIterations=2, string InitialVector="OFRna73m*aze01xY", int KeySize=256) |
| Encrypts a string.
|
|
static async Task< string > | DecryptAsync (string CipherText, string Password, string Salt="Kosher", string HashAlgorithm="SHA1", int PasswordIterations=2, string InitialVector="OFRna73m*aze01xY", int KeySize=256) |
| Decrypts a string.
|
|
◆ DecryptAsync()
static async Task< string > Dacris.Maestro.Encrypt.AesEncryption.DecryptAsync |
( |
string | CipherText, |
|
|
string | Password, |
|
|
string | Salt = "Kosher", |
|
|
string | HashAlgorithm = "SHA1", |
|
|
int | PasswordIterations = 2, |
|
|
string | InitialVector = "OFRna73m*aze01xY", |
|
|
int | KeySize = 256 ) |
|
inlinestatic |
Decrypts a string.
- Parameters
-
CipherText | Text to be decrypted |
Password | Password to decrypt with |
Salt | Salt to decrypt with |
HashAlgorithm | Can be either SHA1 or MD5 |
PasswordIterations | Number of iterations to do |
InitialVector | Needs to be 16 ASCII characters long |
KeySize | Can be 128, 192, or 256 |
- Returns
- A decrypted string
◆ EncryptAsync()
static async Task< string > Dacris.Maestro.Encrypt.AesEncryption.EncryptAsync |
( |
string | PlainText, |
|
|
string | Password, |
|
|
string | Salt = "Kosher", |
|
|
string | HashAlgorithm = "SHA1", |
|
|
int | PasswordIterations = 2, |
|
|
string | InitialVector = "OFRna73m*aze01xY", |
|
|
int | KeySize = 256 ) |
|
inlinestatic |
Encrypts a string.
- Parameters
-
PlainText | Text to be encrypted |
Password | Password to encrypt with |
Salt | Salt to encrypt with |
HashAlgorithm | Can be either SHA1 or MD5 |
PasswordIterations | Number of iterations to do |
InitialVector | Needs to be 16 ASCII characters long |
KeySize | Can be 128, 192, or 256 |
- Returns
- An encrypted string
The documentation for this class was generated from the following file: