summaryrefslogtreecommitdiff
path: root/nacl/crypto_hash/wrapper-hash.cpp
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-07-13 10:09:38 -0400
committerirungentoo <irungentoo@gmail.com>2013-07-13 10:09:38 -0400
commitd4fe483efd3e0062f12430efe9deb66d43d914d7 (patch)
treee6aa9ac716ae82cdb15c6e6cb5d9d1d9d29f053b /nacl/crypto_hash/wrapper-hash.cpp
parent835ef0320d47372eac14bef31c979b8217d04498 (diff)
NaCl moved to other repo.
Diffstat (limited to 'nacl/crypto_hash/wrapper-hash.cpp')
-rw-r--r--nacl/crypto_hash/wrapper-hash.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/nacl/crypto_hash/wrapper-hash.cpp b/nacl/crypto_hash/wrapper-hash.cpp
deleted file mode 100644
index 4c0fb590..00000000
--- a/nacl/crypto_hash/wrapper-hash.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
1#include <string>
2using std::string;
3#include "crypto_hash.h"
4
5string crypto_hash(const string &m)
6{
7 unsigned char h[crypto_hash_BYTES];
8 crypto_hash(h,(const unsigned char *) m.c_str(),m.size());
9 return string((char *) h,sizeof h);
10}