JScript | |
---|---|
function DecryptData( data : String, tryDES : boolean, try3DES : boolean, dek : byte[] ) : String; |
Parameters
- data
- Encrypted data.
- tryDES
- Try to decrypt with DES algorithm.
- try3DES
- Try to decrypt with 3DES algorithm.
- dek
- Encryption key. If provided disables DES and 3DES.
Return Value
Decrypted string.Exception | Description |
---|---|
Selerix.Foundation.SelerixException | SECURITY: Encrypted string has not parsable data encryption key id. or SECURITY: Couldn't decrypt data. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family