cryptonite-0.25: Cryptography Primitives sink

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilitystable
Portabilitygood
Safe HaskellNone
LanguageHaskell2010

Crypto.Cipher.Blowfish

Description

 
Synopsis

Documentation

data Blowfish #

variable keyed blowfish state

Instances
NFData Blowfish # 
Instance details

Defined in Crypto.Cipher.Blowfish

Methods

rnf :: Blowfish -> () #

Cipher Blowfish # 
Instance details

Defined in Crypto.Cipher.Blowfish

BlockCipher Blowfish # 
Instance details

Defined in Crypto.Cipher.Blowfish

Methods

blockSize :: Blowfish -> Int #

ecbEncrypt :: ByteArray ba => Blowfish -> ba -> ba #

ecbDecrypt :: ByteArray ba => Blowfish -> ba -> ba #

cbcEncrypt :: ByteArray ba => Blowfish -> IV Blowfish -> ba -> ba #

cbcDecrypt :: ByteArray ba => Blowfish -> IV Blowfish -> ba -> ba #

cfbEncrypt :: ByteArray ba => Blowfish -> IV Blowfish -> ba -> ba #

cfbDecrypt :: ByteArray ba => Blowfish -> IV Blowfish -> ba -> ba #

ctrCombine :: ByteArray ba => Blowfish -> IV Blowfish -> ba -> ba #

aeadInit :: ByteArrayAccess iv => AEADMode -> Blowfish -> iv -> CryptoFailable (AEAD Blowfish) #

data Blowfish64 #

64 bit keyed blowfish state

Instances
NFData Blowfish64 # 
Instance details

Defined in Crypto.Cipher.Blowfish

Methods

rnf :: Blowfish64 -> () #

Cipher Blowfish64 # 
Instance details

Defined in Crypto.Cipher.Blowfish

BlockCipher Blowfish64 # 
Instance details

Defined in Crypto.Cipher.Blowfish

data Blowfish128 #

128 bit keyed blowfish state

data Blowfish256 #

256 bit keyed blowfish state

data Blowfish448 #

448 bit keyed blowfish state