From: wvxvw <olegsivokon@gmail.com>
Subject: Re: GNAT.SHA256 produces result different from sha257sum on Linux
Date: Sat, 04 Nov 2023 17:48:03 +0100 [thread overview]
Message-ID: <877cmxh3cs.fsf@gmail.com> (raw)
In-Reply-To: ui5ms6$3d0f4$1@dont-email.me
"Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not> writes:
> I think the problem may be that echo adds an LF:
>
> $ echo foo | hd
> 00000000 66 6f 6f 0a |foo.|
>
> Since sha256sum expects to work on arbitrary files, it would include
> the LF in its input.
Hi, thanks for the idea, but no, that's not it. With the line end added
I get 04e1806fda6bdbc9e5e3534edd993c7c2bf03173f5489742db53d1e8b0ef8c61
from Ada.
next prev parent reply other threads:[~2023-11-04 16:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-04 14:39 GNAT.SHA256 produces result different from sha257sum on Linux wvxvw
2023-11-04 15:09 ` Jeffrey R.Carter
2023-11-04 16:48 ` wvxvw [this message]
2023-11-04 17:53 ` Ben Bacarisse
2023-11-04 19:26 ` wvxvw
2023-11-04 16:49 ` Niklas Holsti
2023-11-04 17:39 ` Jeffrey R.Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox