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


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