License | BSD-style |
---|---|
Stability | experimental |
Portability | ??? |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
3DES with 3 different keys used all in the same direction
Instances
Eq DES_EEE3 Source # | |
Cipher DES_EEE3 Source # | |
Defined in Crypto.Cipher.TripleDES cipherInit :: ByteArray key => key -> CryptoFailable DES_EEE3 Source # cipherName :: DES_EEE3 -> String Source # | |
BlockCipher DES_EEE3 Source # | |
Defined in Crypto.Cipher.TripleDES blockSize :: DES_EEE3 -> Int Source # ecbEncrypt :: ByteArray ba => DES_EEE3 -> ba -> ba Source # ecbDecrypt :: ByteArray ba => DES_EEE3 -> ba -> ba Source # cbcEncrypt :: ByteArray ba => DES_EEE3 -> IV DES_EEE3 -> ba -> ba Source # cbcDecrypt :: ByteArray ba => DES_EEE3 -> IV DES_EEE3 -> ba -> ba Source # cfbEncrypt :: ByteArray ba => DES_EEE3 -> IV DES_EEE3 -> ba -> ba Source # cfbDecrypt :: ByteArray ba => DES_EEE3 -> IV DES_EEE3 -> ba -> ba Source # ctrCombine :: ByteArray ba => DES_EEE3 -> IV DES_EEE3 -> ba -> ba Source # aeadInit :: ByteArrayAccess iv => AEADMode -> DES_EEE3 -> iv -> CryptoFailable (AEAD DES_EEE3) Source # |
3DES with 3 different keys used in alternative direction
Instances
Eq DES_EDE3 Source # | |
Cipher DES_EDE3 Source # | |
Defined in Crypto.Cipher.TripleDES cipherInit :: ByteArray key => key -> CryptoFailable DES_EDE3 Source # cipherName :: DES_EDE3 -> String Source # | |
BlockCipher DES_EDE3 Source # | |
Defined in Crypto.Cipher.TripleDES blockSize :: DES_EDE3 -> Int Source # ecbEncrypt :: ByteArray ba => DES_EDE3 -> ba -> ba Source # ecbDecrypt :: ByteArray ba => DES_EDE3 -> ba -> ba Source # cbcEncrypt :: ByteArray ba => DES_EDE3 -> IV DES_EDE3 -> ba -> ba Source # cbcDecrypt :: ByteArray ba => DES_EDE3 -> IV DES_EDE3 -> ba -> ba Source # cfbEncrypt :: ByteArray ba => DES_EDE3 -> IV DES_EDE3 -> ba -> ba Source # cfbDecrypt :: ByteArray ba => DES_EDE3 -> IV DES_EDE3 -> ba -> ba Source # ctrCombine :: ByteArray ba => DES_EDE3 -> IV DES_EDE3 -> ba -> ba Source # aeadInit :: ByteArrayAccess iv => AEADMode -> DES_EDE3 -> iv -> CryptoFailable (AEAD DES_EDE3) Source # |
3DES where the first and third keys are equal, used in the same direction
Instances
Eq DES_EEE2 Source # | |
Cipher DES_EEE2 Source # | |
Defined in Crypto.Cipher.TripleDES cipherInit :: ByteArray key => key -> CryptoFailable DES_EEE2 Source # cipherName :: DES_EEE2 -> String Source # | |
BlockCipher DES_EEE2 Source # | |
Defined in Crypto.Cipher.TripleDES blockSize :: DES_EEE2 -> Int Source # ecbEncrypt :: ByteArray ba => DES_EEE2 -> ba -> ba Source # ecbDecrypt :: ByteArray ba => DES_EEE2 -> ba -> ba Source # cbcEncrypt :: ByteArray ba => DES_EEE2 -> IV DES_EEE2 -> ba -> ba Source # cbcDecrypt :: ByteArray ba => DES_EEE2 -> IV DES_EEE2 -> ba -> ba Source # cfbEncrypt :: ByteArray ba => DES_EEE2 -> IV DES_EEE2 -> ba -> ba Source # cfbDecrypt :: ByteArray ba => DES_EEE2 -> IV DES_EEE2 -> ba -> ba Source # ctrCombine :: ByteArray ba => DES_EEE2 -> IV DES_EEE2 -> ba -> ba Source # aeadInit :: ByteArrayAccess iv => AEADMode -> DES_EEE2 -> iv -> CryptoFailable (AEAD DES_EEE2) Source # |
3DES where the first and third keys are equal, used in alternative direction
Instances
Eq DES_EDE2 Source # | |
Cipher DES_EDE2 Source # | |
Defined in Crypto.Cipher.TripleDES cipherInit :: ByteArray key => key -> CryptoFailable DES_EDE2 Source # cipherName :: DES_EDE2 -> String Source # | |
BlockCipher DES_EDE2 Source # | |
Defined in Crypto.Cipher.TripleDES blockSize :: DES_EDE2 -> Int Source # ecbEncrypt :: ByteArray ba => DES_EDE2 -> ba -> ba Source # ecbDecrypt :: ByteArray ba => DES_EDE2 -> ba -> ba Source # cbcEncrypt :: ByteArray ba => DES_EDE2 -> IV DES_EDE2 -> ba -> ba Source # cbcDecrypt :: ByteArray ba => DES_EDE2 -> IV DES_EDE2 -> ba -> ba Source # cfbEncrypt :: ByteArray ba => DES_EDE2 -> IV DES_EDE2 -> ba -> ba Source # cfbDecrypt :: ByteArray ba => DES_EDE2 -> IV DES_EDE2 -> ba -> ba Source # ctrCombine :: ByteArray ba => DES_EDE2 -> IV DES_EDE2 -> ba -> ba Source # aeadInit :: ByteArrayAccess iv => AEADMode -> DES_EDE2 -> iv -> CryptoFailable (AEAD DES_EDE2) Source # |