e-CryptIt Engine Xojo Plugin |

# EinhugurEncrypt.Decrypt Method (console safe)

To decrypt with Einhugur proprietary 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 encrypted 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:

- macOS Intel 64 bit
- macOS Apple Silicon
- Windows 32 bit
- Windows 64 bit
- Windows ARM 64 bit
- Linux 32 bit
- Linux 64 bit
- Linux ARM 32 bit
- Linux ARM 64 bit
- iOS

#### See Also

EinhugurEncrypt Module