Deutsch   English   Français   Italiano  
<f0f7695d7fa1957e117441d96db3482f41837e2a@i2pn2.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: Stefan Claas <pollux@tilde.club>
Newsgroups: sci.crypt
Subject: Re: minicrypt
Date: Wed, 16 Oct 2024 17:15:34 -0000
Organization: Ch1ffr3punk5
Message-ID: <f0f7695d7fa1957e117441d96db3482f41837e2a@i2pn2.org>
References: <cc024f782029f2a2b11b688b3558a369c3a83dfd@i2pn2.org> <133582977f768d4a34f20a49513f0d2a4e013af2@i2pn2.org> <641b095ebb6123afc5f04ea1f0d8fc908d807004@i2pn2.org>
MIME-Version: 1.0
Injection-Date: Wed, 16 Oct 2024 17:15:36 -0000 (UTC)
Injection-Info: i2pn2.org;
	logging-data="2321389"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre12 (for GNU/Linux)
Cancel-Lock: sha256:K04sM4islhbCvS8vuHq3HbbpTHDCsBdxCbUoFS24AUs=
X-Ed25519-Sig: 7f3173c8834c88aefdc035332d047d7c4276ae4b51522cc90cd16f5bfc116a16
 de0091eb880fa5fc83cf5a8caf1c7c68df64ef1df33a3a8bbbd04370fa508204
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Date: It's Wed 11369 Sep 1993 07:15:34 PM CEST, the September that never ends
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
Bytes: 2208
Lines: 34

Stefan Claas wrote:
> Stefan Claas wrote:
> > Stefan Claas wrote:
> > > 
> > > Hi all,
> > > 
> > > a little program for encrypting messages with Ed25519
> > > and XChaCha20#poly1305.
> > > 
> > > https://github.com/706f6c6c7578/minicrypt
> 
> My pub key, save it as stefan.pem:
> 
> -----BEGIN PUBLIC KEY-----
> tRxoeAmoI+0ygSbUYHBRpbYBDkC9+Q3rSTchzSXFHrU=
> -----END PUBLIC KEY-----

Because my Usenet postings are usually signed with my Ed25519
'coffee' key, one can convert this key to PEM format, with my
hex2pem converter[1] and use this key instead, for encrypting
a message with minicrypt to me. :-)

Example:

$ echo -n 'c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a' | hex2pem -p > stefan.pem

$ echo -n 'Hello World' | minicrypt stefan.pem
UYBgAMy/eAgzkMXlwJ+JoXHwSwuwdBsSxYZHE5g/G3rAYlpEeaZU+bvSzhhk5l4t
hjayeDmalMYvLKDzP4PzOMEYw/XbG/2ru/CGdmGbOohUhlw=

[1] https://github.com/706f6c6c7578/hex2pem

-- 
Regards
Stefan