Re: How to calculate hash of a string vector?

Jeffrey Walton <[email protected]> Wed, 2 Feb 2022 21:23:47 -0500
Newsgroups gmane.comp.encryption.cryptopp
Message-ID <CAH8yC8=ARVAz9MoN9N10oHMMiNLOh1hfycXNEsae=UMbePo-yQ@mail.gmail.com>
On Wed, Feb 2, 2022 at 12:19 PM Devharsh Trivedi
<[email protected]> wrote:
>
> I am trying to calculate SHA256 digest for entire string vector like this:
>
> byte digest[SHA256::DIGESTSIZE];
> SHA256().CalculateDigest(digest, (const byte*)stringVector.data(), stringVector.size());
>
> What is the correct way to calculate hash of entire vector?
https://www.cryptopp.com/wiki/SHA2

Jeff

-- 
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].
To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/CAH8yC8%3DARVAz9MoN9N10oHMMiNLOh1hfycXNEsae%3DUMbePo-yQ%40mail.gmail.com.