Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix
Sets a random initial vector for encryption and decryption.
Delphi syntax:
procedure MakeRandomInitVector;
C++ syntax:
void __fastcall MakeRandomInitVector(void);
Description
Call MakeRandomInitVector to generate a "secure" random encryption key.
MakeRandomInitVector uses a Linear Feedback Shift Register (LFSR), the cryptography secure random number generator.
Initial vector influences encryption and decryption processes, so you should use the same initial vector for encryption and decryption.
MakeRandomInitVector call sets UseInitVector to True. In this case a encryption and decryption will use this random initial vector instead of the default initial vector.
|