Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

stArc4

Classes, interfaces and records

classtARC4

inherits from tCipher

constructor CreateClone(aCipher: tCipher); override; class function BlockSize: Integer; override;
Always returns 1.
class function Mode: tCipherMode; override;
Returns cmOFB, see tCipherMode.
class function Algorithm: tCipherAlg; override;
Returns caARC4, see tCipherAlg.
class function AlgorithmName: string; override;
Always returns the string 'ARC4'.
class function OID(aKeySize: Integer): ObjectIdentifier; override;
Always returns the string '1.2.840.113549.1.3.4'.
function Decrypt(var aBuf; var aCount: Integer): Boolean; override; function Encrypt(var aBuf; var aCount: Integer): Boolean; override; procedure SetUp(const aKey; aCount: Integer); override;

classtARC4_SSH

constructor CreateClone(aCipher: tCipher); override; class function BlockSize: Integer; override;
Always returns 16.
class function Mode: tCipherMode; override;
Returns cmSSH, see tCipherMode.
class function Algorithm: tCipherAlg; override;
Returns caARC4, see tCipherAlg.
class function AlgorithmName: string; override;
Always returns the string 'ARC4'.
class function BlockVectorSize: Integer; override;
Always returns 0.
class function MaxKeySize: Integer; override;
Always returns 16.
class function MinKeySize: Integer; override;
Always returns 16.
procedure SetUp(const aKey; aCount: Integer); override;