Re: [cryptopp-users] How to calculate hash of a string vector?

2022-04-04 Thread Manish sharma
You can make your own crypto exchange App & Software . Read More to know 
how? 
Cryptocurrency Exchange Development Cost & Features 



On Thursday, February 3, 2022 at 7:55:09 AM UTC+5:30 Jeffrey Walton wrote:

> On Wed, Feb 2, 2022 at 12:19 PM Devharsh Trivedi
>  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 cryptopp-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/cryptopp-users/4a406c1b-d160-474d-9ec1-567c3987b430n%40googlegroups.com.


Re: [cryptopp-users] How to calculate hash of a string vector?

2022-02-02 Thread Jeffrey Walton
On Wed, Feb 2, 2022 at 12:19 PM Devharsh Trivedi
 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 cryptopp-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/cryptopp-users/CAH8yC8%3DARVAz9MoN9N10oHMMiNLOh1hfycXNEsae%3DUMbePo-yQ%40mail.gmail.com.


[cryptopp-users] How to calculate hash of a string vector?

2022-02-02 Thread Devharsh Trivedi
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.