cryptol/examples/Cipher.cry
2014-04-17 15:34:25 -07:00

12 lines
283 B
Plaintext

/*
* Copyright (c) 2013-2014 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]
}