TOlf Crypt Decrypt Class
Simple class to crypt and decrypt buffers.
Olf.RTL.CryptDecrypt.TOlfCryptDecrypt
The TOlfCryptDecrypt type exposes the following members.
Name | Description | |
---|---|---|
![]() | ByteKeys | buffer of bytes used as a key by Crypt/Decrypt functions |
![]() | IntegerKeys | buffer of integers used as a key by Crypt/Decrypt functions |
Name | Description | |
---|---|---|
![]() ![]() | Crypt | Overloaded. Deprecated. DEPRECATED - internally use XORCrypt |
![]() | Crypt | Overloaded. Deprecated. DEPRECATED - internally use XORCrypt |
![]() ![]() | Decrypt | Overloaded. Deprecated. DEPRECATED - internally use XORDecrypt |
![]() | Decrypt | Overloaded. Deprecated. DEPRECATED - internally use XORDecrypt |
![]() ![]() | GenIDBKey | |
![]() ![]() | GenShiftKey | |
![]() ![]() | GenSwapKey | Export a key as an array of 256 random bytes |
![]() ![]() | GenXORKey | Export a key as an array of random bytes |
![]() ![]() | IDBCrypt | Overloaded. |
![]() | IDBCrypt | Overloaded. |
![]() ![]() | IDBDecrypt | Overloaded. |
![]() | IDBDecrypt | Overloaded. |
![]() ![]() | ShiftCrypt | Overloaded. |
![]() | ShiftCrypt | Overloaded. |
![]() ![]() | ShiftDecrypt | Overloaded. |
![]() | ShiftDecrypt | Overloaded. |
![]() ![]() | SwapCrypt | Overloaded. exchange bytes between a buffer to crypt and the key parameter |
![]() | SwapCrypt | Overloaded. exchange bytes between a buffer to crypt and the property key |
![]() ![]() | SwapDecrypt | Overloaded. exchange bytes between a buffer to uncrypt and the key parameter |
![]() | SwapDecrypt | Overloaded. exchange bytes between a buffer to uncrypt and the property key |
![]() ![]() | XORCrypt | Overloaded. use XOR operand to crypt a buffer with a keys buffer |
![]() | XORCrypt | Overloaded. use XOR operand to crypt a buffer with the keys buffer property |
![]() ![]() | XORDecrypt | Overloaded. use XOR operand to decrypt a buffer with a keys buffer |
![]() | XORDecrypt | Overloaded. use XOR operand to decrypt a buffer with the keys buffer property |
This unit contains very simple cryptographic algorithms. DON't USE THEM FOR SENSIBLE DATAS !!! Check those projects if you need a more robust algorithm : - Delphi Encryption Compendium https://github.com/MHumm/DelphiEncryptionCompendium - TMS Cryptographic Pack https://www.tmssoftware.com/site/tmscrypto.asp