Appearance
DecryptLegacy Method
Definition
- Namespace:
JASE.Crypto - Assembly:
JASE.Crypto.dll
Overloads
| Name | Description |
|---|---|
byte[] DecryptLegacy(byte[] data, SymmetricAlgorithms algorithm, bool includeIV, string salt, string authKey, EncryptionPaddingMode padding = null) | Decrypts data written by the legacy JASE proprietary symmetric format (single SHA-256 key derivation and [bits] framing). Provided decrypt-only for migrating existing data; it is not interoperable with other libraries. Re-encrypt with Encrypt, EncryptWithPassword, or AesGcm. |
byte[] DecryptLegacy(byte[] data, byte[] salt, byte[] authKey, SymmetricAlgorithms algorithm, bool includeIV, EncryptionPaddingMode padding = null) | Decrypts data written by the legacy JASE proprietary symmetric format using raw key/auth bytes. Decrypt-only; see DecryptLegacy. |
string DecryptLegacy(string data, SymmetricAlgorithms algorithm, bool includeIV, string salt, string authKey, EncryptionPaddingMode padding = null) | Decrypts a Base64 string written by the legacy JASE proprietary symmetric format. Decrypt-only; see DecryptLegacy. |
byte[] DecryptLegacy(byte[] data, SymmetricAlgorithms algorithm, bool includeIV, string salt, string authKey, EncryptionPaddingMode padding = null)
csharp
byte[] DecryptLegacy(byte[] data, SymmetricAlgorithms algorithm, bool includeIV, string salt, string authKey, EncryptionPaddingMode padding = null)Decrypts data written by the legacy JASE proprietary symmetric format (single SHA-256 key derivation and [bits] framing). Provided decrypt-only for migrating existing data; it is not interoperable with other libraries. Re-encrypt with Encrypt, EncryptWithPassword, or AesGcm.
byte[] DecryptLegacy(byte[] data, byte[] salt, byte[] authKey, SymmetricAlgorithms algorithm, bool includeIV, EncryptionPaddingMode padding = null)
csharp
byte[] DecryptLegacy(byte[] data, byte[] salt, byte[] authKey, SymmetricAlgorithms algorithm, bool includeIV, EncryptionPaddingMode padding = null)Decrypts data written by the legacy JASE proprietary symmetric format using raw key/auth bytes. Decrypt-only; see DecryptLegacy.
string DecryptLegacy(string data, SymmetricAlgorithms algorithm, bool includeIV, string salt, string authKey, EncryptionPaddingMode padding = null)
csharp
string DecryptLegacy(string data, SymmetricAlgorithms algorithm, bool includeIV, string salt, string authKey, EncryptionPaddingMode padding = null)Decrypts a Base64 string written by the legacy JASE proprietary symmetric format. Decrypt-only; see DecryptLegacy.