cipher-des-0.0.6: DES and 3DES primitives
Crypto.Cipher.DES
Description
Synopsis
data DES Source #
DES Context
Instances
Methods
(==) :: DES -> DES -> Bool #
(/=) :: DES -> DES -> Bool #
blockSize :: DES -> Int #
ecbEncrypt :: DES -> ByteString -> ByteString #
ecbDecrypt :: DES -> ByteString -> ByteString #
cbcEncrypt :: DES -> IV DES -> ByteString -> ByteString #
cbcDecrypt :: DES -> IV DES -> ByteString -> ByteString #
cfbEncrypt :: DES -> IV DES -> ByteString -> ByteString #
cfbDecrypt :: DES -> IV DES -> ByteString -> ByteString #
ctrCombine :: DES -> IV DES -> ByteString -> ByteString #
xtsEncrypt :: (DES, DES) -> IV DES -> DataUnitOffset -> ByteString -> ByteString #
xtsDecrypt :: (DES, DES) -> IV DES -> DataUnitOffset -> ByteString -> ByteString #
aeadInit :: Byteable iv => AEADMode -> DES -> iv -> Maybe (AEAD DES) #
cipherInit :: Key DES -> DES #
cipherName :: DES -> String #
cipherKeySize :: DES -> KeySizeSpecifier #