fpe-0.1.0: Format-preserving encryption.

Safe HaskellNone
LanguageHaskell2010

FPE.FF1

Documentation

encrypt :: (Vector v a, Integral a) => Crypter v a Source #

decrypt :: (Vector v a, Integral a) => Crypter v a Source #

type Crypter v a = BlockCipher -> Int -> Tweak -> v a -> v a Source #