diff options
author | irungentoo <irungentoo@gmail.com> | 2013-07-13 10:09:38 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-07-13 10:09:38 -0400 |
commit | d4fe483efd3e0062f12430efe9deb66d43d914d7 (patch) | |
tree | e6aa9ac716ae82cdb15c6e6cb5d9d1d9d29f053b /nacl/crypto_hash/wrapper-hash.cpp | |
parent | 835ef0320d47372eac14bef31c979b8217d04498 (diff) |
NaCl moved to other repo.
Diffstat (limited to 'nacl/crypto_hash/wrapper-hash.cpp')
-rw-r--r-- | nacl/crypto_hash/wrapper-hash.cpp | 10 |
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> | ||
2 | using std::string; | ||
3 | #include "crypto_hash.h" | ||
4 | |||
5 | string 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 | } | ||