The Cryptography type exposes the following members.
Methods | Name | Description |
---|
| AddSalt |
Adds salt to a plaintext string to help prevent certain kinds
of attacks against symmetric ciphers.
|
| Decrypt(String, String) |
Decrypts a ciphertext using the default symmetric algorithm
but no salt.
|
| Decrypt(String, String, Boolean) |
Decrypts a ciphertext using the default symmetric algorithm.
|
| Decrypt(String, String, SymmetricAlgorithm) |
Decrypts a ciphertext using a specific symmetric algorithm.
|
| Decrypt(String, String, String) |
Decrypts a ciphertext using a specific symmetric algorithm.
|
| Encrypt(String, String) |
Encrypts a string using the default symmetrical encryption
but without salt.
|
| Encrypt(String, String, Boolean) |
Encrypts a string using the default symmetrical encryption.
|
| Encrypt(String, String, SymmetricAlgorithm) |
Encrypts a string using a specified symmetrical encryption algorithm.
|
| Encrypt(String, String, String) |
Encrypts a string using a specified symmetrical encryption algorithm.
|
| GetHash(String) |
Creates a hash of a string.
|
| GetHash(String, HashAlgorithm) |
Creates a hash of a string using a specified hashing algorithm.
|
| GetRandomKey |
Creates a random key of random length.
|
| GetRandomPassword |
Creates a random password of a specified length. The password will be usable
with Microsoft Windows security.
|
| RemoveSalt |
Removes salt from a decrypted string.
|
TopSee Also