Thanks all, this has been really helpful.
On Tue, Dec 26, 2017 at 5:44 AM, Kurt Roeckx wrote:
> On Mon, Dec 25, 2017 at 07:44:58PM -0800, Swapnil Deshpande wrote:
> > Hi all,
> >
> > Noob here. I recently discovered that the "-sha1" and "-sha" flags in the
> > "openssl dgst" command produce diff
On Mon, Dec 25, 2017 at 07:44:58PM -0800, Swapnil Deshpande wrote:
> Hi all,
>
> Noob here. I recently discovered that the "-sha1" and "-sha" flags in the
> "openssl dgst" command produce different outputs. I thought those were the
> same algorithms but turns out they are not:
>
> $ echo -n "pass
Hi,
Wikipedia has some information.
https://en.wikipedia.org/wiki/Secure_Hash_Algorithms
What is produced by "dgst -sha" is what the above link is calling SHA-0
(originally just called SHA).
All the best,
-Dave
> On Dec 25, 2017, at 22:44, Swapnil Deshpande
> wrote:
>
> Hi all,
On 25/12/17 10:44 PM, Swapnil Deshpande wrote:
Hi all,
Noob here. I recently discovered that the "-sha1" and "-sha" flags in
the "openssl dgst" command produce different outputs. I thought those
were the same algorithms but turns out they are not:
$ echo -n "password" | openssl dgst -sha
80
Hi all,
Noob here. I recently discovered that the "-sha1" and "-sha" flags in the
"openssl dgst" command produce different outputs. I thought those were the
same algorithms but turns out they are not:
$ echo -n "password" | openssl dgst -sha
80072568beb3b2102325eb203f6d0ff92f5cef8e
$ echo -n "