public inbox for nncp-devel@lists.stargrave.org
Atom feed
From: Eugene Medvedev <rn3aoh.g@gmail•com>
To: nncp-devel@lists.cypherpunks.su
Subject: Re: gemtext (was: So I made a thing: nncp-echomail)
Date: Sat, 4 Oct 2025 22:34:41 +0300 [thread overview]
Message-ID: <CAO-d-4pWZ+-JGvQpj2CzGN0mccszYsW4qk8AeEoOMrb=tumuLA@mail.gmail.com> (raw)
In-Reply-To: <aOF0WwmgnMOpNAgy@stargrave.org>
On Sat, 4 Oct 2025 at 22:25, Sergey Matveev <stargrave@stargrave•org> wrote:
> Ideally
> you would use SHA2-512/256 variant, where SHA2's state is initialised
> with different "magic numbers" to separate the context of ordinary
> SHA2-512 from SHA2-512/256, because if you happen to get SHA2-512, then
> you can "calculate" its stripped variant.
That, actually, was what I just changed it to upon reading up a bit on
how this is done in ZFS. I figure this is a sufficiently happy medium
for now. While there is no SHA-512/256 in coreutils,
openssl dgst -sha512-256 should be available enough to use as the
last resort...
--
Eugene Medvedev
next prev parent reply other threads:[~2025-10-04 19:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-04 13:52 So I made a thing: nncp-echomail Eugene Medvedev
2025-10-04 16:56 ` gemtext (was: So I made a thing: nncp-echomail) Sergey Matveev
2025-10-04 17:51 ` Eugene Medvedev
2025-10-04 18:20 ` Sergey Matveev
2025-10-04 18:39 ` Eugene Medvedev
2025-10-04 19:23 ` Sergey Matveev
2025-10-04 19:34 ` Eugene Medvedev [this message]
2025-10-15 20:46 ` Eugene Medvedev
2025-10-26 11:13 ` NNCP_PACKET and NNCP_ORIGIN Sergey Matveev