Skip to content

TBlowFish

Class implementing Blowfish encryption/decryption.

Declaration

Source position: blowfish.pp line 42

type

  TBlowFish = class(TObject)
  public
    constructor Create;
    procedure Encrypt;
    procedure Decrypt;
  end;

Inheritance

Description

TBlowFish is a simple class that can be used to encrypt/decrypt a single TBFBlock data block with the Encrypt and Decrypt calls. It is used internally by the TBlowFishEnCryptStream and TBlowFishDeCryptStream classes to encrypt or decrypt the actual data.

Methods

Member Visibility Description
Create public Create a new instance of the TBlowFish class.
Decrypt public Decrypt a block.
Encrypt public Encrypt a block.
See all Methods

See also

Name Description
TBlowFishEnCryptStream On-the-fly Blowfish encryption stream.
TBlowFishDeCryptStream On-the-fly Blowfish decryption stream.