Re: minicrypt

Liste des GroupesRevenir à s crypt 
Sujet : Re: minicrypt
De : pollux (at) *nospam* tilde.club (Stefan Claas)
Groupes : sci.crypt
Date : 16. Oct 2024, 18:15:34
Autres entêtes
Organisation : Ch1ffr3punk5
Message-ID : <f0f7695d7fa1957e117441d96db3482f41837e2a@i2pn2.org>
References : 1 2 3
User-Agent : flnews/1.3.0pre12 (for GNU/Linux)
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

Date Sujet#  Auteur
11 Oct 24 * minicrypt6Stefan Claas
11 Oct 24 `* Re: minicrypt5Stefan Claas
12 Oct 24  +* Re: minicrypt2Stefan Claas
16 Oct 24  i`- Re: minicrypt1Stefan Claas
13 Oct 24  `* Re: minicrypt2Byrl Raze Buckbriar
13 Oct 24   `- Re: minicrypt1Stefan Claas

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal