MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system


TMsgCryptoParamsEditor.MakeRandomInitVector
TMsgCryptoParamsEditor
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 MsgCommunicator: Delphi Messenger Sdk Instant Messaging Sdk Im Sd