Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


TACRCryptoParamsEditor.MakeRandomKey
TACRCryptoParamsEditor
Top 

Generates a random binary key for the encryption and decryption.

Delphi syntax:
procedure
MakeRandomKey(KeySize: Integer);

C++ syntax:
void __fastcall
MakeRandomKey(int KeySize);

Description
Call MakeRandomKey to generate a "secure" random encryption key.
MakeRandomKey uses a Linear Feedback Shift Register (LFSR), the cryptography secure random number generator.
MakeRandomKey call sets Password to the empty string. Encryption and decryption routines will use this random binary key instead of previous key or password. You can get this key by calling GetKey.



© AidAim Software Accuracer: