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


TCPSAdvancedStream.CryptoParams
TCPSAdvancedStream
Top 

Indicates an encryption settings.

Delphi syntax:
type
TCPSCryptoParams = packed record
KeyInfo: TCPSCryptoKey;
InitVector: array [0..CPS_MAX_VECTOR] of Byte; // CPS_MAX_VECTOR = 31
Password: String; // CPSDefaultPassword by default
CryptoAlgorithm: Byte; // CPS_Cipher_None by Default
CryptoMode: Byte; // CPS_CTS by Default
UseInitVector: Boolean; // False by default
end;
property CryptoParams: TCPSCryptoParams;

C++ syntax:
struct
TCPSCryptoParams
{
   TCPSCryptoKey KeyInfo;
   Byte InitVector[32];
   AnsiString Password;
   Byte CryptoAlgorithm;
   Byte CryptoMode;
   bool UseInitVector;
} ;
__property
Cpscrypto::TCPSCryptoParams CryptoParams = {read=FCryptoParams};

Description
Use CryptoParams to get current encryption settings of the stream.



© AidAim Software CryptoPressStream: