Class TRALCripto

Unit

Declaration

type TRALCripto = class(TObject)

Description

Base class for all crypto functions

Hierarchy

Overview

Methods

Public constructor Create;
Public function Decrypt(const AValue: StringRAL; ABinary : boolean = false): StringRAL; overload;
Public function Decrypt(AValue: TBytes): StringRAL; overload;
Public function Decrypt(AValue: TStream): StringRAL; overload;
Public function DecryptAsBytes(const AValue: StringRAL): TBytes; overload;
Public function DecryptAsBytes(AValue: TBytes): TBytes; overload;
Public function DecryptAsBytes(AValue: TStream): TBytes; overload;
Public function DecryptAsStream(AValue: TStream): TStream; virtual; abstract;
Public function Encrypt(const AValue: StringRAL; ABinary : boolean = false): StringRAL; overload;
Public function Encrypt(AValue: TBytes): StringRAL; overload;
Public function Encrypt(AValue: TStream): StringRAL; overload;
Public function EncryptAsBytes(const AValue: StringRAL): TBytes; overload;
Public function EncryptAsBytes(AValue: TBytes): TBytes; overload;
Public function EncryptAsBytes(AValue: TStream): TBytes; overload;
Public function EncryptAsStream(AValue: TStream): TStream; virtual; abstract;
Protected function BeforeDecrypt(AValue: TStream): TStream;
Protected function BeforeEncrypt(AValue: TStream): TStream;
Protected function CanCript: boolean; virtual;
Protected procedure SetKey(const AValue: StringRAL); virtual;

Properties

Published property IntputType: TRALCriptoInOutType read FIntputType write FIntputType;
Published property Key: StringRAL read FKey write SetKey;
Published property OutputType: TRALCriptoInOutType read FOutputType write FOutputType;

Description

Methods

Public constructor Create;

This item has no description.

Public function Decrypt(const AValue: StringRAL; ABinary : boolean = false): StringRAL; overload;

This item has no description.

Public function Decrypt(AValue: TBytes): StringRAL; overload;

This item has no description.

Public function Decrypt(AValue: TStream): StringRAL; overload;

This item has no description.

Public function DecryptAsBytes(const AValue: StringRAL): TBytes; overload;

This item has no description.

Public function DecryptAsBytes(AValue: TBytes): TBytes; overload;

This item has no description.

Public function DecryptAsBytes(AValue: TStream): TBytes; overload;

This item has no description.

Public function DecryptAsStream(AValue: TStream): TStream; virtual; abstract;

This item has no description.

Public function Encrypt(const AValue: StringRAL; ABinary : boolean = false): StringRAL; overload;

This item has no description.

Public function Encrypt(AValue: TBytes): StringRAL; overload;

This item has no description.

Public function Encrypt(AValue: TStream): StringRAL; overload;

This item has no description.

Public function EncryptAsBytes(const AValue: StringRAL): TBytes; overload;

This item has no description.

Public function EncryptAsBytes(AValue: TBytes): TBytes; overload;

This item has no description.

Public function EncryptAsBytes(AValue: TStream): TBytes; overload;

This item has no description.

Public function EncryptAsStream(AValue: TStream): TStream; virtual; abstract;

This item has no description.

Protected function BeforeDecrypt(AValue: TStream): TStream;

This item has no description.

Protected function BeforeEncrypt(AValue: TStream): TStream;

This item has no description.

Protected function CanCript: boolean; virtual;

This item has no description.

Protected procedure SetKey(const AValue: StringRAL); virtual;

This item has no description.

Properties

Published property IntputType: TRALCriptoInOutType read FIntputType write FIntputType;

This item has no description.

Published property Key: StringRAL read FKey write SetKey;

This item has no description.

Published property OutputType: TRALCriptoInOutType read FOutputType write FOutputType;

This item has no description.



PascalRAL - GitHub Repository
Generated by PasDoc 1.0.4.