cryptol/examples/Cipher.cry
2016-01-19 18:19:35 -08:00

12 lines
283 B
Plaintext

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