crypton-1.0.1: Cryptography Primitives sink
Safe HaskellNone
LanguageHaskell2010

Crypto.Cipher.Twofish

Documentation

data Twofish128 Source #

Instances

Instances details
Cipher Twofish128 Source # 
Instance details

Defined in Crypto.Cipher.Twofish

BlockCipher Twofish128 Source # 
Instance details

Defined in Crypto.Cipher.Twofish

Methods

blockSize :: Twofish128 -> Int Source #

ecbEncrypt :: ByteArray ba => Twofish128 -> ba -> ba Source #

ecbDecrypt :: ByteArray ba => Twofish128 -> ba -> ba Source #

cbcEncrypt :: ByteArray ba => Twofish128 -> IV Twofish128 -> ba -> ba Source #

cbcDecrypt :: ByteArray ba => Twofish128 -> IV Twofish128 -> ba -> ba Source #

cfbEncrypt :: ByteArray ba => Twofish128 -> IV Twofish128 -> ba -> ba Source #

cfbDecrypt :: ByteArray ba => Twofish128 -> IV Twofish128 -> ba -> ba Source #

ctrCombine :: ByteArray ba => Twofish128 -> IV Twofish128 -> ba -> ba Source #

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

data Twofish192 Source #

Instances

Instances details
Cipher Twofish192 Source # 
Instance details

Defined in Crypto.Cipher.Twofish

BlockCipher Twofish192 Source # 
Instance details

Defined in Crypto.Cipher.Twofish

Methods

blockSize :: Twofish192 -> Int Source #

ecbEncrypt :: ByteArray ba => Twofish192 -> ba -> ba Source #

ecbDecrypt :: ByteArray ba => Twofish192 -> ba -> ba Source #

cbcEncrypt :: ByteArray ba => Twofish192 -> IV Twofish192 -> ba -> ba Source #

cbcDecrypt :: ByteArray ba => Twofish192 -> IV Twofish192 -> ba -> ba Source #

cfbEncrypt :: ByteArray ba => Twofish192 -> IV Twofish192 -> ba -> ba Source #

cfbDecrypt :: ByteArray ba => Twofish192 -> IV Twofish192 -> ba -> ba Source #

ctrCombine :: ByteArray ba => Twofish192 -> IV Twofish192 -> ba -> ba Source #

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

data Twofish256 Source #

Instances

Instances details
Cipher Twofish256 Source # 
Instance details

Defined in Crypto.Cipher.Twofish

BlockCipher Twofish256 Source # 
Instance details

Defined in Crypto.Cipher.Twofish

Methods

blockSize :: Twofish256 -> Int Source #

ecbEncrypt :: ByteArray ba => Twofish256 -> ba -> ba Source #

ecbDecrypt :: ByteArray ba => Twofish256 -> ba -> ba Source #

cbcEncrypt :: ByteArray ba => Twofish256 -> IV Twofish256 -> ba -> ba Source #

cbcDecrypt :: ByteArray ba => Twofish256 -> IV Twofish256 -> ba -> ba Source #

cfbEncrypt :: ByteArray ba => Twofish256 -> IV Twofish256 -> ba -> ba Source #

cfbDecrypt :: ByteArray ba => Twofish256 -> IV Twofish256 -> ba -> ba Source #

ctrCombine :: ByteArray ba => Twofish256 -> IV Twofish256 -> ba -> ba Source #

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