This function decrypts current image (layer), crypted using IEImage.Encrypt.
The algorithm used is TEA Tiny Encryption Algorithm with a key of 128 bits.
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void Decrypt( string passkey, IEImage..::..EncryptAlgorithm algorithm )
Public Sub Decrypt ( _ passkey As String, _ algorithm As IEImage..::..EncryptAlgorithm _ )
public: void Decrypt( String^ passkey, IEImage..::..EncryptAlgorithm algorithm )
Parameters
- passkey
- String
Specifies a string password, which will be hashed to a 128 bits key
- algorithm
- IEImage..::..EncryptAlgorithm
Specifies the algorithm to use. We suggest to use TEA2 for better encryption.