How to calculate hash of a string vector?
Devharsh Trivedi <[email protected]> Wed, 2 Feb 2022 09:19:25 -0800 (PST)
| Newsgroups | gmane.comp.encryption.cryptopp |
|---|---|
| Message-ID | <[email protected]> |
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? -- 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/2b9fe4f3-ca73-432c-a8fb-c5be9d76a1e4n%40googlegroups.com.