[openssl-users] openssl dgst -sha256 - result differs from Bouncycastle SHA256 digest for same input

Kristian kristianonline28 at gmail.com
Tue Oct 25 08:45:23 UTC 2016


Maybe different encodings like here:
http://stackoverflow.com/questions/6839969/md5-hash-with-different-results

2016-10-25 7:36 GMT+02:00 shanthi thomas <elizatom at yahoo.com>:

> Hi,
>     I read that this happens because openssl is treating the input as
> characters as opposed to binary data. But how do I rectify it so that
> openssl gives the same digest output as BouncyCastle?
>
> thanks,
> Elizabeth
>
> --
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20161025/fa576769/attachment.html>


More information about the openssl-users mailing list