hello,

i tried to use the new SHA-3 hash function that is available in Crypto++ version
5.6.2, through the following code:

CryptoPP::HMAC <CryptoPP::SHA3_512> sha;

this compiles just fine. however, when i run the program, it crashes with the
following exception:

terminate called after throwing an instance of 'CryptoPP::InvalidArgument'
what(): HMAC: can only be used with a block-based hash function

is there a way around this? as far as i know, SHA-3 should be good enough to be
used as HMAC.

thanks in advance for replying!

Frank Spears.

--
--
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to