Sign in Join
FPDoc Onlineexperiment

BlowFish unit

Unit implementing Blowfish encryption/decryption streams.

The BlowFish implements a class TBlowFish to handle Blowfish encryption/decryption of memory buffers, and 2 TStream descendents TBlowFishDeCryptStream which decrypts any data that is read from it on the fly, as well as TBlowFishEnCryptStream which encrypts the data that is written to it on the fly.

Classes and records

EBlowFishErrorclassException used to report errors.
TBlowFishclassClass implementing Blowfish encryption/decryption.
TBlowFishDeCryptStreamclassOn-the-fly Blowfish decryption stream.
TBlowFishEncryptStreamclassOn-the-fly Blowfish encryption stream.
TBlowFishStreamclassParent class for Blowfish encryption/decryption streams.

Types

PBlowFishKeytypePointer to TBlowFishKey array.
TBFBlocktypeInternal Blowfish data structure.
TBlowFishKeytypeArray to hold Blowfish encryption keys.

Constants

BFRoundsconstantNumber of rounds in Blowfish encryption.

Uses

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.