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.
Stefan Claas wrote:
Stefan Claas wrote:
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.
Just for fun :-):
$ echo -n 'Test' | xchacha20 key nonce | armor
-----BEGIN PGP MESSAGE-----
eQyt7Q==
=yEnM
-----END PGP MESSAGE-----
Stefan Claas wrote:
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.
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
Stefan Claas <[email protected]> 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 Carmody wrote:
Stefan Claas <[email protected]> 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?
I always use nonces from files and for each message a new one. I have
my nonce rachtet program 'nora' which calculates them, without needing
to transfer them.
https://github.com/706f6c6c7578/nora
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 47:43:53 |
| Calls: | 12,112 |
| Calls today: | 3 |
| Files: | 15,010 |
| Messages: | 6,518,503 |