function Encrypt(const Value: TBytes): IScEncryptorResult; overload;

function Encrypt(const Value: string): IScEncryptorResult; overload;

function Encrypt(const Value: WideString): IScEncryptorResult; overload;

function Encrypt(const Value: AnsiString): IScEncryptorResult; overload;

function Encrypt(const Value: TStream; Count: Cardinal = 0): IScEncryptorResult; overload;

 

Description

The method encrypts the input data using the key, algorithm, and other parameters specified by the properties of the TScSymmetricEncryptor object.

The method returns a TScEncryptorResult interfaced object, which allows you to convert the encryption result to the required format.

Value - Holds data to be encrypted.
Count - The number of bytes to read from the Value parameter of the TStream type.

 

See Also

TScEncryptorResult

Decrypt

 
 
 
 

SecureBridge Components, Copyright © 2007-2026 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support