summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-06-22 21:02:20 -0400
committerOri Bernstein <ori@eigenstate.org>2015-08-24 22:10:06 -0700
commit782bc5755dc32b9386b17f49b756b250c38c703d (patch)
tree40f33e78a4f47a22226648a425cabbc0a8423389
parent18da4d07e56cdbc6f6e170c4023c4c7d9ca0bd3e (diff)
downloadmc-782bc5755dc32b9386b17f49b756b250c38c703d.tar.gz
Add missing file for test.
-rw-r--r--libcryptohash/test/printhash.myr12
1 files changed, 12 insertions, 0 deletions
diff --git a/libcryptohash/test/printhash.myr b/libcryptohash/test/printhash.myr
new file mode 100644
index 0000000..70f26d6
--- /dev/null
+++ b/libcryptohash/test/printhash.myr
@@ -0,0 +1,12 @@
+use std
+
+pkg =
+ const print : (b : byte[:] -> void)
+;;
+
+const print = {b
+ for x in b
+ std.put("%02xb", x)
+ ;;
+ std.put("\n")
+}