Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

stBlowFish

Classes, interfaces and records

classtBlowFish_ECB

inherits from tBlockCipher

constructor Create(const aKey; aCount: Integer; aSetIV: Boolean = False; aRefCounted: Boolean = False); override; constructor CreateClone(aCipher: tCipher); override; class function BlockSize: Integer; override;
Always returns 8.
class function Mode: tCipherMode; override;
Returns cmECB, see tCipherMode.
class function Algorithm: tCipherAlg; override;
Returns caBlowFish, see tCipherAlg.
class function AlgorithmName: string; override;
Always returns the string 'BlowFish'.
class function BlockVectorSize: Integer; override;
Always returns 0.
class function MaxKeySize: Integer; override;
Always returns 56.
class function MinKeySize: Integer; override;
Always returns 8.
procedure SetUp(const aKey; aCount: Integer); override;

classtBlowFish_CFB

inherits from TBlowFish_ECB

constructor Create(const aKey; aCount: Integer; aSetIV: Boolean = False; aRefCounted: Boolean = False); override; class function Mode: tCipherMode; override;
Returns cmCFB, see tCipherMode.
class function BlockVectorSize: Integer; override;
Always returns 1.
property ModeRatio; class function KeyedIVOID(aKeySize: Integer): ObjectIdentifier; override;

classtBlowFish_OFB

inherits from TBlowFish_CFB

class function Mode: tCipherMode; override;
Returns cmOFB, see tCipherMode.
class function KeyedIVOID(aKeySize: Integer): ObjectIdentifier; override;

classtBlowFish_ABC

inherits from TBlowFish_ECB

class function Mode: TCipherMode; override;
Returns cmABC, see tCipherMode.
class function BlockVectorSize: Integer; override;
Always returns 2.
class function KeyedIVOID(KeySize: Integer): ObjectIdentifier; override;

classtBlowFish_CTR

inherits from TBlowFish_ECB

class function Mode: TCipherMode; override;
Returns cmCTR, see tCipherMode.
class function BlockVectorSize: Integer; override;
Always returns 1.
class function KeyedIVOID(KeySize: Integer): ObjectIdentifier; override;

classtBlowFish_CBC

inherits from TBlowFish_ECB

class function Mode: TCipherMode; override;
Returns cmCBC, see tCipherMode.
class function BlockVectorSize: Integer; override;
Always returns 1.
class function KeyedIVOID(KeySize: Integer): ObjectIdentifier; override;

classtBlowFish_SSH

class function Mode: TCipherMode; override;
Returns cmSSH, see tCipherMode.
class function BlockVectorSize: Integer; override;
Always returns 1.
class function KeyedIVOID(KeySize: Integer): ObjectIdentifier; override;
Always returns an empty string.

classtBlowFish_SSHCTR

class function Mode: TCipherMode; override;
Returns cmSSHCTR, see tCipherMode.
class function BlockVectorSize: Integer; override;
Always returns 1.
class function KeyedIVOID(KeySize: Integer): ObjectIdentifier; override;
Always returns an empty string.