Crypto.Cipher.Twofish

crypton-1.0.1: Cryptography Primitives sink

Safe Haskell | None
Language | Haskell2010

Crypto.Cipher.Twofish

# Documentation

data Twofish128 #

#### Instances

Instances details

Cipher Twofish128 # |
Instance details Defined in Crypto.Cipher.Twofish Methods cipherInit :: ByteArray key => key -> CryptoFailable Twofish128 # cipherName :: Twofish128 -> String # cipherKeySize :: Twofish128 -> KeySizeSpecifier #
BlockCipher Twofish128 # |
Instance details Defined in Crypto.Cipher.Twofish Methods blockSize :: Twofish128 -> Int # ecbEncrypt :: ByteArray ba => Twofish128 -> ba -> ba # ecbDecrypt :: ByteArray ba => Twofish128 -> ba -> ba # cbcEncrypt :: ByteArray ba => Twofish128 -> IV Twofish128 -> ba -> ba # cbcDecrypt :: ByteArray ba => Twofish128 -> IV Twofish128 -> ba -> ba # cfbEncrypt :: ByteArray ba => Twofish128 -> IV Twofish128 -> ba -> ba # cfbDecrypt :: ByteArray ba => Twofish128 -> IV Twofish128 -> ba -> ba # ctrCombine :: ByteArray ba => Twofish128 -> IV Twofish128 -> ba -> ba # aeadInit :: ByteArrayAccess iv => AEADMode -> Twofish128 -> iv -> CryptoFailable (AEAD Twofish128) #

data Twofish192 #

#### Instances

Instances details

Cipher Twofish192 # |
Instance details Defined in Crypto.Cipher.Twofish Methods cipherInit :: ByteArray key => key -> CryptoFailable Twofish192 # cipherName :: Twofish192 -> String # cipherKeySize :: Twofish192 -> KeySizeSpecifier #
BlockCipher Twofish192 # |
Instance details Defined in Crypto.Cipher.Twofish Methods blockSize :: Twofish192 -> Int # ecbEncrypt :: ByteArray ba => Twofish192 -> ba -> ba # ecbDecrypt :: ByteArray ba => Twofish192 -> ba -> ba # cbcEncrypt :: ByteArray ba => Twofish192 -> IV Twofish192 -> ba -> ba # cbcDecrypt :: ByteArray ba => Twofish192 -> IV Twofish192 -> ba -> ba # cfbEncrypt :: ByteArray ba => Twofish192 -> IV Twofish192 -> ba -> ba # cfbDecrypt :: ByteArray ba => Twofish192 -> IV Twofish192 -> ba -> ba # ctrCombine :: ByteArray ba => Twofish192 -> IV Twofish192 -> ba -> ba # aeadInit :: ByteArrayAccess iv => AEADMode -> Twofish192 -> iv -> CryptoFailable (AEAD Twofish192) #

data Twofish256 #

#### Instances

Instances details

Cipher Twofish256 # |
Instance details Defined in Crypto.Cipher.Twofish Methods cipherInit :: ByteArray key => key -> CryptoFailable Twofish256 # cipherName :: Twofish256 -> String # cipherKeySize :: Twofish256 -> KeySizeSpecifier #
BlockCipher Twofish256 # |
Instance details Defined in Crypto.Cipher.Twofish Methods blockSize :: Twofish256 -> Int # ecbEncrypt :: ByteArray ba => Twofish256 -> ba -> ba # ecbDecrypt :: ByteArray ba => Twofish256 -> ba -> ba # cbcEncrypt :: ByteArray ba => Twofish256 -> IV Twofish256 -> ba -> ba # cbcDecrypt :: ByteArray ba => Twofish256 -> IV Twofish256 -> ba -> ba # cfbEncrypt :: ByteArray ba => Twofish256 -> IV Twofish256 -> ba -> ba # cfbDecrypt :: ByteArray ba => Twofish256 -> IV Twofish256 -> ba -> ba # ctrCombine :: ByteArray ba => Twofish256 -> IV Twofish256 -> ba -> ba # aeadInit :: ByteArrayAccess iv => AEADMode -> Twofish256 -> iv -> CryptoFailable (AEAD Twofish256) #