Discussion:
Inspired by Chris's HMAC cipher
Add Reply
Stefan Claas
2024-09-20 11:17:25 UTC
Reply
Permalink
I came up with the following idea.

Register a webpage at nekoweb.org, use an API key
and send encrypted messages to the web page, which
later Bob and Alice can decrypt.

https://pollux.nekoweb.org

Alice does:

$ xchacha20 key iv < msg.txt | b2h | hex2img -b 0 -v | xml2html > index.html && neko

Process completed in 4.7553ms

Files uploaded

While Bob does:

$ curl https://pollux.nekoweb.org | xml2html -d | hex2img -v -d | b2h -d | xchacha20 key iv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 825 0 825 0 0 4881 0 --:--:-- --:--:-- --:--:-- 4881
Hello sci.crypt! :-)

Process completed in 191.3448ms

Thus allowing Alice and Bob to exchange messages without email usage and
without visiting a website with a browser.

Hope you like the idea!
--
Regards
Stefan
Stefan Claas
2024-09-20 19:20:47 UTC
Reply
Permalink
Post by Stefan Claas
I came up with the following idea.
Register a webpage at nekoweb.org, use an API key
and send encrypted messages to the web page, which
later Bob and Alice can decrypt.
https://pollux.nekoweb.org
$ xchacha20 key iv < msg.txt | b2h | hex2img -b 0 -v | xml2html > index.html && neko
Process completed in 4.7553ms
Files uploaded
$ curl https://pollux.nekoweb.org | xml2html -d | hex2img -v -d | b2h -d | xchacha20 key iv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 825 0 825 0 0 4881 0 --:--:-- --:--:-- --:--:-- 4881
Hello sci.crypt! :-)
Process completed in 191.3448ms
Thus allowing Alice and Bob to exchange messages without email usage and
without visiting a website with a browser.
Hope you like the idea!
Have made the process a bit more flexible, so that the neko bash script
is replaced with a nekoweb Go program, which acts as cURL, for Windows
users who don't have cURL. This makes also the upload more flexible, so
tha folders can be created where the files are stored.

Example: https://pollux.nekoweb.org/msg/1.txt

$ nekoweb -d https://pollux.nekoweb.org/msg/1.html | xml2html -d | hex2img -v -d | b2h -d | xchacha20 key iv
I wish the sci.crypt community
a nice weekend! Regards Stefan


Process completed in 231.1079ms
Stefan Claas
2024-09-20 19:22:57 UTC
Reply
Permalink
Post by Stefan Claas
Post by Stefan Claas
I came up with the following idea.
Register a webpage at nekoweb.org, use an API key
and send encrypted messages to the web page, which
later Bob and Alice can decrypt.
https://pollux.nekoweb.org
$ xchacha20 key iv < msg.txt | b2h | hex2img -b 0 -v | xml2html > index.html && neko
Process completed in 4.7553ms
Files uploaded
$ curl https://pollux.nekoweb.org | xml2html -d | hex2img -v -d | b2h -d | xchacha20 key iv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 825 0 825 0 0 4881 0 --:--:-- --:--:-- --:--:-- 4881
Hello sci.crypt! :-)
Process completed in 191.3448ms
Thus allowing Alice and Bob to exchange messages without email usage and
without visiting a website with a browser.
Hope you like the idea!
Have made the process a bit more flexible, so that the neko bash script
is replaced with a nekoweb Go program, which acts as cURL, for Windows
users who don't have cURL. This makes also the upload more flexible, so
tha folders can be created where the files are stored.
Example: https://pollux.nekoweb.org/msg/1.txt
https://pollux.nekoweb.org/msg/1.html
--
Regards
Stefan
Stefan Claas
2024-09-21 08:53:07 UTC
Reply
Permalink
Post by Stefan Claas
I came up with the following idea.
Register a webpage at nekoweb.org, use an API key
and send encrypted messages to the web page, which
later Bob and Alice can decrypt.
https://pollux.nekoweb.org
$ xchacha20 key iv < msg.txt | b2h | hex2img -b 0 -v | xml2html > index.html && neko
Process completed in 4.7553ms
Files uploaded
$ curl https://pollux.nekoweb.org | xml2html -d | hex2img -v -d | b2h -d | xchacha20 key iv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 825 0 825 0 0 4881 0 --:--:-- --:--:-- --:--:-- 4881
Hello sci.crypt! :-)
Process completed in 191.3448ms
Thus allowing Alice and Bob to exchange messages without email usage and
without visiting a website with a browser.
I figured out that my xml2html program is not required, because the xml/svg
output renders just fine on web pages, with Edge Browser. Hope this is true
as well for other browers.

I also put the commands in aliases so that I only use 'enc' or 'dec' along
with the nekoweb command.

Example.

key: 5c42a3c290c91c66654b9af5a924057677b691257a24b7e414d028300bd4f6f0
iv: 7dfa38650527d096fbbbeb8b05e5097c48089a21c391a45b

https://pollux.nekoweb.org/msg/3.html

$ enc | nekoweb msg/3.html

$ nekoweb -d https://pollux.nekoweb.org/msg/3.html | dec
I wish the sci.crypt community a nice weekend
and hope that you come up as well with such
an encoder/decoder! Best regards Stefan. :-)
--
Regards
Stefan
Stefan Claas
2024-09-21 10:47:56 UTC
Reply
Permalink
Post by Stefan Claas
Example.
key: 5c42a3c290c91c66654b9af5a924057677b691257a24b7e414d028300bd4f6f0
iv: 7dfa38650527d096fbbbeb8b05e5097c48089a21c391a45b
https://pollux.nekoweb.org/msg/3.html
$ enc | nekoweb msg/3.html
$ nekoweb -d https://pollux.nekoweb.org/msg/3.html | dec
I wish the sci.crypt community a nice weekend
and hope that you come up as well with such
an encoder/decoder! Best regards Stefan. :-)
Reference tools:

https://github.com/706f6c6c7578/nekoweb
https://github.com/706f6c6c7578/hex2img
https://github.com/706f6c6c7578/b2h
https://github.com/706f6c6c7578/xchacha20
--
Regards
Stefan
Stefan Claas
2024-10-11 10:43:48 UTC
Reply
Permalink
Post by Stefan Claas
Post by Stefan Claas
Example.
key: 5c42a3c290c91c66654b9af5a924057677b691257a24b7e414d028300bd4f6f0
iv: 7dfa38650527d096fbbbeb8b05e5097c48089a21c391a45b
https://pollux.nekoweb.org/msg/3.html
$ enc | nekoweb msg/3.html
$ nekoweb -d https://pollux.nekoweb.org/msg/3.html | dec
I wish the sci.crypt community a nice weekend
and hope that you come up as well with such
an encoder/decoder! Best regards Stefan. :-)
https://github.com/706f6c6c7578/nekoweb
https://github.com/706f6c6c7578/hex2img
https://github.com/706f6c6c7578/b2h
https://github.com/706f6c6c7578/xchacha20
Added -T parameter for Tor usage.

Example:

$ echo -n 'Hello world.' | minicrypt stefan.pem | nekoweb -T msg/12.txt
Response: Files uploaded

$ nekoweb -T -d https://pollux.nekoweb.org/msg/12.txt \
| minicrypt -d stefanp.pem
Hello world.
--
Regards
Stefan
Chris M. Thomasson
2024-10-07 20:20:41 UTC
Reply
Permalink
Post by Stefan Claas
I came up with the following idea.
Register a webpage at nekoweb.org, use an API key
and send encrypted messages to the web page, which
later Bob and Alice can decrypt.[...]
To decrypt use the default key, except click on the SHA512 radio button,
then click decrypt:

http://fractallife247.com/test/hmac_cipher/ver_0_0_0_1?ct_hmac_cipher=a4f7cb5f3c7a0957d9517ad740b06a5d13a02e0affcb2882f700e388eec93f650c92e3b451915f04d2c0dd45f13e1ad5bfad03552937e2ff2602ec88dc3ccdce8b3076ec0addad4b41123297542709c292bb836850057363dbd2e7c7eb6f237db3e3d3d891600c880b92bbbe0b293a34bbc4994c81dba3deef421247965b01ef1cfca2ac91fc73b1511997cb09907e
Stefan Claas
2024-10-08 13:42:10 UTC
Reply
Permalink
Post by Chris M. Thomasson
Post by Stefan Claas
I came up with the following idea.
Register a webpage at nekoweb.org, use an API key
and send encrypted messages to the web page, which
later Bob and Alice can decrypt.[...]
To decrypt use the default key, except click on the SHA512 radio button,
http://fractallife247.com/test/hmac_cipher/ver_0_0_0_1?ct_hmac_cipher=a4f7cb5f3c7a0957d9517ad740b06a5d13a02e0affcb2882f700e388eec93f650c92e3b451915f04d2c0dd45f13e1ad5bfad03552937e2ff2602ec88dc3ccdce8b3076ec0addad4b41123297542709c292bb836850057363dbd2e7c7eb6f237db3e3d3d891600c880b92bbbe0b293a34bbc4994c81dba3deef421247965b01ef1cfca2ac91fc73b1511997cb09907e
Hi Chris, please reply here in plaintext. I do not have the passwort anymore.
--
Regards
Stefan
Chris M. Thomasson
2024-10-08 19:05:26 UTC
Reply
Permalink
Post by Stefan Claas
Post by Chris M. Thomasson
Post by Stefan Claas
I came up with the following idea.
Register a webpage at nekoweb.org, use an API key
and send encrypted messages to the web page, which
later Bob and Alice can decrypt.[...]
To decrypt use the default key, except click on the SHA512 radio button,
http://fractallife247.com/test/hmac_cipher/ver_0_0_0_1?ct_hmac_cipher=a4f7cb5f3c7a0957d9517ad740b06a5d13a02e0affcb2882f700e388eec93f650c92e3b451915f04d2c0dd45f13e1ad5bfad03552937e2ff2602ec88dc3ccdce8b3076ec0addad4b41123297542709c292bb836850057363dbd2e7c7eb6f237db3e3d3d891600c880b92bbbe0b293a34bbc4994c81dba3deef421247965b01ef1cfca2ac91fc73b1511997cb09907e
Hi Chris, please reply here in plaintext. I do not have the passwort anymore.
If you click on the link; click on the SHA512 radio button and then
click the decrypt button you should see the following plaintext:
________________________
Well, shit... I have been really busy lately.

Sorry for neglecting this group.
________________________

Here is a screenshot with the plaintext highlighted:

Loading Image...
Stefan Claas
2024-10-09 18:44:28 UTC
Reply
Permalink
Post by Chris M. Thomasson
Post by Stefan Claas
Post by Chris M. Thomasson
Post by Stefan Claas
I came up with the following idea.
Register a webpage at nekoweb.org, use an API key
and send encrypted messages to the web page, which
later Bob and Alice can decrypt.[...]
To decrypt use the default key, except click on the SHA512 radio button,
http://fractallife247.com/test/hmac_cipher/ver_0_0_0_1?ct_hmac_cipher=a4f7cb5f3c7a0957d9517ad740b06a5d13a02e0affcb2882f700e388eec93f650c92e3b451915f04d2c0dd45f13e1ad5bfad03552937e2ff2602ec88dc3ccdce8b3076ec0addad4b41123297542709c292bb836850057363dbd2e7c7eb6f237db3e3d3d891600c880b92bbbe0b293a34bbc4994c81dba3deef421247965b01ef1cfca2ac91fc73b1511997cb09907e
Hi Chris, please reply here in plaintext. I do not have the passwort anymore.
If you click on the link; click on the SHA512 radio button and then
________________________
Well, shit... I have been really busy lately.
Sorry for neglecting this group.
________________________
https://i.ibb.co/tzSbQYJ/image.png
Ah, ok.
--
Regards
Stefan
Stefan Claas
2024-10-14 20:40:25 UTC
Reply
Permalink
Post by Stefan Claas
Post by Chris M. Thomasson
Post by Stefan Claas
I came up with the following idea.
Register a webpage at nekoweb.org, use an API key
and send encrypted messages to the web page, which
later Bob and Alice can decrypt.[...]
To decrypt use the default key, except click on the SHA512 radio button,
http://fractallife247.com/test/hmac_cipher/ver_0_0_0_1?ct_hmac_cipher=a4f7cb5f3c7a0957d9517ad740b06a5d13a02e0affcb2882f700e388eec93f650c92e3b451915f04d2c0dd45f13e1ad5bfad03552937e2ff2602ec88dc3ccdce8b3076ec0addad4b41123297542709c292bb836850057363dbd2e7c7eb6f237db3e3d3d891600c880b92bbbe0b293a34bbc4994c81dba3deef421247965b01ef1cfca2ac91fc73b1511997cb09907e
Hi Chris, please reply here in plaintext. I do not have the passwort anymore.
Or for further communications, I would prefer that you use my minicrypt too,
because then we do not need to visit the WWW, for encrypted communications.

My pub key (save it as stefan.pem):

-----BEGIN PUBLIC KEY-----
tRxoeAmoI+0ygSbUYHBRpbYBDkC9+Q3rSTchzSXFHrU=
-----END PUBLIC KEY-----

https://github.com/706f6c6c7578/minicrypt
--
Best regards
Stefan
Loading...