Is it anything like proverbial
echo "string" | sha256sum_prog
echo -n "string" | sha256sum_prog

On Sat, Apr 21, 2012 at 01:19:18PM -0400, Alan Partis wrote:
> Should I expect that the output from CryptPP::SHA256().CalculateDigest()
> for a given string match the output I get from the Linux sha256sum
> program for the same string?
> 
> It seems to me that they should, but my simple program to implement
> .CalculateDigest() does not provide the same digest result.
> 
> Can anyone help me understand why that is?
> 
> Thanks.
> 
> _______________________________________________________
> Alan Partis
> thundernet development group
> 
> -- 
> 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 "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.

Reply via email to