Crypto
Delphi and C++Builder cryptography library.
- Utilizes the standard Windows Cryptography API: Next Generation (CNG)
- Compatible with Delphi/C++Builder versions 7 - 13 and Lazarus 4.2
- Supports both Windows 32-bit and 64-bit platforms
- Source code included with the registered version
- Royalty-free distribution in your applications
The Crypto library does not include implementations of cryptographic algorithms. It provides access to Windows cryptographic services only.
Order Crypto license $160 USD (license for one developer)
Order Crypto multi-license $480 USD (license for all developers in company)
Order Crypto year upgrades license $80 USD (registered users only)
Order Crypto year upgrades multi-license $240 USD (registered users only)
FAQ
How can I use AES encryption and decryption?
const SecretKey = TBytes.Create($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $A, $B, $C, $D, $E, $F); const InitializationVector = TBytes.Create($F, $E, $D, $C, $B, $A, $9, $8, $7, $6, $5, $4, $3, $2, $1, $0); var CipherText: TBytes; // AES encryption with TSymmetricKey.Create(skAES, cmCBC, SecretKey) do try IV := InitializationVector; CipherText := Encrypt('Hello, world!'); finally Free; end; // AES decryption with TSymmetricKey.Create(skAES, cmCBC, SecretKey) do try IV := InitializationVector; const PlainBytes = Decrypt(CipherText); const PlainText = TEncoding.UTF8.GetString(PlainBytes); ShowMessage(PlainText); finally Free; end;