Re: XChaCha20 Python3 CLI tool

Liste des GroupesRevenir à s crypt 
Sujet : Re: XChaCha20 Python3 CLI tool
De : pc+usenet (at) *nospam* asdf.org (Phil Carmody)
Groupes : sci.crypt
Date : 07. Oct 2024, 15:17:02
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <87v7y4dmld.fsf@fatphil.org>
References : 1
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Stefan Claas <pollux@tilde.club> writes:
Hi all,
>
DJB's XChaCha20 stream cipher is pretty cool for Text messages (SMS),
if you have also a proper encoder for the binary output.
>
So I decided to convert my Go Code to Python3.
>
Here is the program to play with, base64 encoded.
>
$ ./xchacha20.py
Error: Incorrect number of arguments
Usage: ./xchacha20.py <keyfile> <noncefile> < infile > outfile
>
XChaCha20 encryption/decryption tool
>
Arguments:
  keyfile    Path to the file containing the key in hexadecimal format
  noncefile  Path to the file containing the nonce in hexadecimal format

Why is the nonce in a file - are you planning on using it multiple
times?

Phil
--
We are no longer hunters and nomads. No longer awed and frightened, as we have
gained some understanding of the world in which we live. As such, we can cast
aside childish remnants from the dawn of our civilization.
-- NotSanguine on SoylentNews, after Eugen Weber in /The Western Tradition/

Date Sujet#  Auteur
8 Sep 24 * XChaCha20 Python3 CLI tool6Stefan Claas
8 Sep 24 +* Re: XChaCha20 Python3 CLI tool3Stefan Claas
8 Sep 24 i`* Re: XChaCha20 Python3 CLI tool2Stefan Claas
8 Sep 24 i `- Re: XChaCha20 Python3 CLI tool1Stefan Claas
7 Oct 24 `* Re: XChaCha20 Python3 CLI tool2Phil Carmody
7 Oct 24  `- Re: XChaCha20 Python3 CLI tool1Stefan Claas

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal