CryptoPressStream:
Delphi / C++Builder Streaming Compression Library
with Strong Encryption


TCPSCryptoParamsEditor.MakeRandomInitVector
TCPSCryptoParamsEditor
Top 

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.



© AidAim Software CryptoPressStream: