Data.DBXOpenSSL.TRSACypher.PublicEncrypt
Delphi
function PublicEncrypt(Data: TArray<Byte>): TArray<Byte>;
C++
System::DynamicArray<System::Byte> __fastcall PublicEncrypt(System::DynamicArray<System::Byte> Data);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DBXOpenSSL.pas Data.DBXOpenSSL.hpp |
Data.DBXOpenSSL | TRSACypher |
Description
Returns the specified data encrypted using your public key.
The data is typically a session key. The size of the specified data must not be greater than the size of the public key (11).