public static class Cryptography
The implementation of the encryption and decryption methods is not guaranteed to remain the same between version releases of the IDEA™ framework. Consequently, a future implementation may break a previous implementation and result in all of your encrypted data being lost. It's important, therefore, to use strict version controls if you have existing encrypted data.
This implementation has not changed since InnerDrive.Framework assembly version 0.98.2278.21712, 28 March 2006. Data encrypted with previous versions of the assembly are not guaranteed to be compatible. Data encrypted with all subsequent versions is compatible.
The implementation previously changed with version 0.98.1152.0 in February 2003.
AddSalt | Adds salt to a plaintext string to help prevent certain kinds of attacks against symmetric ciphers. |
DecryptAsync(String, String) | Decrypts a ciphertext using the default symmetric algorithm but no salt. |
DecryptAsync(String, String, Boolean) | Decrypts a ciphertext using the default symmetric algorithm. |
DecryptAsync(String, String, SymmetricAlgorithm) | Decrypts a ciphertext using a specific symmetric algorithm. |
DecryptAsync(String, String, String) | Decrypts a ciphertext using a specific symmetric algorithm. |
EncryptAsync(String, String) | Encrypts a string using the default symmetrical encryption but without salt. |
EncryptAsync(String, String, Boolean) | Encrypts a string using the default symmetrical encryption. |
EncryptAsync(String, String, SymmetricAlgorithm) | Encrypts a string using a specified symmetrical encryption algorithm. |
EncryptAsync(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. |
MaxKeyLength | Provides the upper length limit, in bytes, for keys. |
MaxPlaintextLength | Provides the upper length limit, in bytes, for plaintext strings. |
MinKeyLength | Provides the lower length limit, in bytes, for keys. |