From 5a54ad4ac01a69c554a05eddf077eea08cd766b1 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Mon, 15 Jun 2015 14:27:45 -0400 Subject: Initial commit of the cryptographic hash library --- src/hash.ur | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/hash.ur (limited to 'src/hash.ur') diff --git a/src/hash.ur b/src/hash.ur new file mode 100644 index 0000000..7492dd0 --- /dev/null +++ b/src/hash.ur @@ -0,0 +1,16 @@ +(* Copyright 2015 the Massachusetts Institute of Technology + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. *) + +type digest = string + +val md5 = HashFFI.md5 -- cgit v1.2.3