summaryrefslogtreecommitdiff
path: root/src/hash.ur
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2015-06-15 14:27:45 -0400
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2015-06-15 14:27:45 -0400
commit5a54ad4ac01a69c554a05eddf077eea08cd766b1 (patch)
tree0c7305f4fabcf93d0afc89ba6995d9d447e22719 /src/hash.ur
Initial commit of the cryptographic hash library
Diffstat (limited to 'src/hash.ur')
-rw-r--r--src/hash.ur16
1 files changed, 16 insertions, 0 deletions
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