| e-CryptIt Engine REALbasic Plugin |
|
Decrypt Method
To decrypt with the normal encryption from e-CryptitEngine use the Decrypt method.
Decrypt(
Data as String,
Password as String,
Offset as Integer) as String
Parameters
- Data
- The data to decrypt.
- Password
- The password to decrypt the Data.
- Offset
- Parameter used for buffered decryption, e.g. reading a crypted file.
For example, if your file buffer has a length of 1000 bytes then the first packet you decrypt would have an Offset set to 0, the second set to 1000, the third set to 2000, etc.
Packet size must be dividable by 4!
Not all packets have to be the same size, but it's highly recommended.
Of course, the last packet does not have to be dividable by 4.
Returns
- String
Remarks
Returns the the decrypted string.
Always be aware the encrypted data is binary data which can contain anything including character zero and other meta characters, so it may not be used with any text encodings while it is in encrypted form.
Supported Platforms:
PPC - MacOS 9Carbon - MacOS 9 and MacOS X (PEF)MacOS X PPC - (Mach-O)MacOS X Universal Binary (Mach-O)Win32 - WindowsLinux x86
See Also
GlobalMethods Global