fpe-0.1.0: Format-preserving encryption.
FPE.FF1
encrypt :: (Vector v a, Integral a) => Crypter v a Source #
decrypt :: (Vector v a, Integral a) => Crypter v a Source #
type BlockCipher = ByteString -> ByteString Source #
type Crypter v a = BlockCipher -> Int -> Tweak -> v a -> v a Source #
type Tweak = ByteString Source #