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


Sets an initial vector for the encryption and decryption processes.

Delphi syntax:
SetInitVector(Vector: Pointer);

C++ syntax:
void __fastcall
SetInitVector(void * Vector);

Call SetInitVector to specify new initial vector for the encryption and decryption.
Initial vector influences encryption and decryption processes, so you should use the same initial vector for encryption and decryption.
You can generate a random initial vector using MakeRandomInitVector method.
You can read MaxInitVectorSize property to get the maximum size of InitVector you need to generate new initial vector.

Note: SetInitVector call does not set UseInitVector to True. You must set UseInitVector to True if you would like to encrypt a database using the vector you set, not the default initial vector.

© AidAim Software Accuracer: Contents-cross-platform Windows Linux Databas