std::string hash(std::string input) { CryptoPP::byte const* pbData = (CryptoPP::byte*)input.data(); unsigned int nDataLen = input.length(); CryptoPP::byte abDigest[CryptoPP::BLAKE2b::DIGESTSIZE];
CryptoPP::BLAKE2b().CalculateDigest(abDigest, pbData, nDataLen); return std::string((char*)abDigest, CryptoPP::BLAKE2b::DIGESTSIZE); } this the function I'm using, is it possible to specify a nondefault digest size? -- You received this message because you are subscribed to "Crypto++ Users". More information about Crypto++ and this group is available at http://www.cryptopp.com and http://groups.google.com/forum/#!forum/cryptopp-users. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cryptopp-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.