[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-users
Subject:    Re: [openssl-users] openssl dgst -sha256 - result differs from Bouncycastle SHA256 digest for same i
From:       Kristian <kristianonline28 () gmail ! com>
Date:       2016-10-25 8:45:23
Message-ID: CAO5HUhObPq1o+D-xq2XR89dHnnP0E-TVtd4KzwVrP=d8hMrCwA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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
>
>

[Attachment #5 (text/html)]

<div dir="ltr">Maybe different encodings like here:  <a \
href="http://stackoverflow.com/questions/6839969/md5-hash-with-different-results">http \
://stackoverflow.com/questions/6839969/md5-hash-with-different-results</a></div><div \
class="gmail_extra"><br><div class="gmail_quote">2016-10-25 7:36 GMT+02:00 shanthi \
thomas <span dir="ltr">&lt;<a href="mailto:elizatom@yahoo.com" \
target="_blank">elizatom@yahoo.com</a>&gt;</span>:<br><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div \
style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light,Helvetica \
Neue Light,Helvetica Neue,Helvetica,Arial,Lucida \
Grande,sans-serif;font-size:16px"><div \
id="m_2919595264302239000yui_3_16_0_ym19_1_1477373553273_8251">Hi,</div><div \
id="m_2919595264302239000yui_3_16_0_ym19_1_1477373553273_8253" dir="ltr">      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?  </div><div \
id="m_2919595264302239000yui_3_16_0_ym19_1_1477373553273_8253" \
dir="ltr"><br></div><div \
id="m_2919595264302239000yui_3_16_0_ym19_1_1477373553273_8253" \
dir="ltr">thanks,</div><div \
id="m_2919595264302239000yui_3_16_0_ym19_1_1477373553273_8253" \
dir="ltr">Elizabeth</div></div></div><br>--<br> openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" \
rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
 <br></blockquote></div><br></div>



-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic