cipher-des-0.0.6: DES and 3DES primitives
LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilitystable
Portabilitygood
Safe HaskellNone
LanguageHaskell98

Crypto.Cipher.DES

Description

 
Synopsis

Documentation

data DES Source #

DES Context

Instances

Instances details
Eq DES Source # 
Instance details

Defined in Crypto.Cipher.DES

Methods

(==) :: DES -> DES -> Bool

(/=) :: DES -> DES -> Bool

BlockCipher DES Source # 
Instance details

Defined in Crypto.Cipher.DES

Methods

blockSize :: DES -> Int Source #

ecbEncrypt :: DES -> ByteString -> ByteString Source #

ecbDecrypt :: DES -> ByteString -> ByteString Source #

cbcEncrypt :: DES -> IV DES -> ByteString -> ByteString Source #

cbcDecrypt :: DES -> IV DES -> ByteString -> ByteString Source #

cfbEncrypt :: DES -> IV DES -> ByteString -> ByteString Source #

cfbDecrypt :: DES -> IV DES -> ByteString -> ByteString Source #

ctrCombine :: DES -> IV DES -> ByteString -> ByteString Source #

xtsEncrypt :: (DES, DES) -> IV DES -> DataUnitOffset -> ByteString -> ByteString Source #

xtsDecrypt :: (DES, DES) -> IV DES -> DataUnitOffset -> ByteString -> ByteString Source #

aeadInit :: Byteable iv => AEADMode -> DES -> iv -> Maybe (AEAD DES) Source #

Cipher DES Source # 
Instance details

Defined in Crypto.Cipher.DES