Unit synacrypt

DescriptionusesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Encryption support

Implemented are DES and 3DES encryption/decryption by ECB, CBC, CFB-8bit, CFB-block, OFB and CTR methods.

uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TSynaBlockCipher Implementation of common routines block ciphers (dafault size is 64-bits)
Class TSynaCustomDes Implementation of common routines for DES encryption
Class TSynaDes Implementation of DES encryption
Class TSyna3Des Implementation of 3DES encryption
Class TSynaAes Implementation of AES encryption

Functions and Procedures

function TestDes: boolean;
function Test3Des: boolean;
function TestAes: boolean;

Types

TDesKeyData = array[0..31] of integer;

Constants

BC = 4;
MAXROUNDS = 14;

Description

Functions and Procedures

function TestDes: boolean;

Call internal test of all DES encryptions. Returns True if all is OK.

function Test3Des: boolean;

Call internal test of all 3DES encryptions. Returns True if all is OK.

function TestAes: boolean;

Call internal test of all AES encryptions. Returns True if all is OK.

Types

TDesKeyData = array[0..31] of integer;

Datatype for holding one DES key data

This data type is used internally.

Constants

BC = 4;
 
MAXROUNDS = 14;
 
Generated by PasDoc 0.9.0 on 2012-04-23 21:38:52