On Friday, September 9, 2016 at 4:00:38 AM UTC-4, Jeffrey Walton wrote:
>
>
> is it possible with crypto++ generating sha3 hashes (so I mean the Keccak) 
>> with a specific length? I could only see sha3 instances with 224,256,384 
>> and 512 bits. I would like to generate hashes with length d.
>>
>
> Derive a class from Keccak base class (
> http://www.cryptopp.com/docs/ref/class_keccak.html). Something like:
>
>     Keccack_192 : public Keccack
>     {
>         public:
>             CRYPTOPP_CONSTANT(DIGESTSIZE = 24)
>             Keccack_192() : Keccack(DIGESTSIZE) {}
>     };
>

The docs have been updated at 
http://www.cryptopp.com/docs/ref/class_keccak.html .

We should probably get a wiki page together to make it easy to find the 
information in the future.

Jeff 

-- 
-- 
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