cryptol/examples/Cipher.cry
2015-03-24 11:19:52 -07:00

12 lines
283 B
Plaintext

/*
* Copyright (c) 2013-2015 Galois, Inc.
* Distributed under the terms of the BSD3 license (see LICENSE file)
*/
module Cipher where
type Cipher KeySize BlockSize =
{ encrypt : [KeySize] -> [BlockSize] -> [BlockSize]
, decrypt : [KeySize] -> [BlockSize] -> [BlockSize]
}