Class TRALCriptoAES

Unit

Declaration

type TRALCriptoAES = class(TRALCripto)

Description

AES Criptography class

Hierarchy

Overview

Methods

Public constructor Create;
Public destructor Destroy; override;
Public function AESKeys(AIndex: integer): TBytes;
Public function CountKeys: integer;
Public function DecryptAsStream(AValue: TStream): TStream; override;
Public function EncryptAsStream(AValue: TStream): TStream; override;
Public function KeysToList: TStringList;
Protected function CheckKey: boolean;
Protected function DecryptAES(AInput, AOutput: PByte; AInputLen: integer): integer;
Protected function EncryptAES(AInput, AOutput: PByte; AInputLen: integer): integer;
Protected class function Multi(AMult: integer; AByte: byte): byte;
Protected class function Multi02(AValue: byte): byte;
Protected function RotWord(AInt: Cardinal): Cardinal;
Protected function SubWord(AInt: Cardinal): Cardinal;
Protected function WordToBytes(AInt: Cardinal): TBytes;
Protected procedure ClearThreads(AList: TThreadList);
Protected class procedure GenerateRCON;
Protected class procedure GenerateSBox;
Protected class procedure InitializeAES;
Protected procedure KeyExpansion;
Protected procedure LogAES(const ALog: StringRAL; AInput: PByte);
Protected procedure SetAESType(AValue: TRALAESType);
Protected procedure SetKey(const AValue: StringRAL); override;

Properties

Published property AESType: TRALAESType read FAESType write SetAESType;

Description

Methods

Public constructor Create;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function AESKeys(AIndex: integer): TBytes;

This item has no description.

Public function CountKeys: integer;

This item has no description.

Public function DecryptAsStream(AValue: TStream): TStream; override;

This item has no description.

Public function EncryptAsStream(AValue: TStream): TStream; override;

This item has no description.

Public function KeysToList: TStringList;

This item has no description.

Protected function CheckKey: boolean;

This item has no description.

Protected function DecryptAES(AInput, AOutput: PByte; AInputLen: integer): integer;

Decrypt cipher

Protected function EncryptAES(AInput, AOutput: PByte; AInputLen: integer): integer;

Encrypt cipher

Protected class function Multi(AMult: integer; AByte: byte): byte;

This item has no description.

Protected class function Multi02(AValue: byte): byte;

This item has no description.

Protected function RotWord(AInt: Cardinal): Cardinal;

Key expansion

Protected function SubWord(AInt: Cardinal): Cardinal;

This item has no description.

Protected function WordToBytes(AInt: Cardinal): TBytes;

This item has no description.

Protected procedure ClearThreads(AList: TThreadList);

This item has no description.

Protected class procedure GenerateRCON;

This item has no description.

Protected class procedure GenerateSBox;

This item has no description.

Protected class procedure InitializeAES;

This item has no description.

Protected procedure KeyExpansion;

Cypher Encrypt and Decrypt

Protected procedure LogAES(const ALog: StringRAL; AInput: PByte);

This item has no description.

Protected procedure SetAESType(AValue: TRALAESType);

This item has no description.

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

This item has no description.

Properties

Published property AESType: TRALAESType read FAESType write SetAESType;

This item has no description.



PascalRAL - GitHub Repository
Generated by PasDoc 1.0.4.