Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 42 |
Nodes: | 6 (0 / 6) |
Uptime: | 01:39:18 |
Calls: | 220 |
Calls today: | 1 |
Files: | 824 |
Messages: | 121,542 |
Posted today: | 6 |
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 <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?