Sha256: 7dbd842ad6ce4d5d8ef5a38a45451447e993925f5b3d4415d76e875797e9564a
Contents?: true
Size: 240 Bytes
Versions: 3
Compression:
Stored size: 240 Bytes
Contents
#include <string> using std::string; #include "crypto_hash.h" string crypto_hash(const string &m) { unsigned char h[crypto_hash_BYTES]; crypto_hash(h,(const unsigned char *) m.c_str(),m.size()); return string((char *) h,sizeof h); }
Version data entries
3 entries across 3 versions & 1 rubygems