License | BSD-style |
---|---|
Maintainer | Olivier Chéron <olivier.cheron@gmail.com> |
Stability | experimental |
Portability | unknown |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Crypto.Store.KeyWrap.TripleDES
Description
Triple-DES Key Wrap (RFC 3217)
Should be used with a cipher from module Crypto.Cipher.TripleDES.
Synopsis
- wrap :: (BlockCipher cipher, ByteArray ba) => cipher -> IV cipher -> ba -> Either StoreError ba
- unwrap :: (BlockCipher cipher, ByteArray ba) => cipher -> ba -> Either StoreError ba