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 cryptopp-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/cryptopp-users/2b9fe4f3-ca73-432c-a8fb-c5be9d76a1e4n%40googlegroups.com.

Reply via email to