cryptocipher-0.5.1: Symmetrical block and stream ciphers.

Safe HaskellSafe-Inferred

Crypto.Cipher.DES

Description

This module is copy of DES module from Crypto package. http:hackage.haskell.orgpackageCrypto

Synopsis

Documentation

encrypt :: Word64 -> Word64 -> Word64Source

Basic DES encryption which takes a key and a block of plaintext and returns the encrypted block of ciphertext according to the standard.

decrypt :: Word64 -> Word64 -> Word64Source

Basic DES decryption which takes a key and a block of ciphertext and returns the decrypted block of plaintext according to the standard.