Sujet : Re: Inspired by Chris's HMAC cipher
De : pollux (at) *nospam* tilde.club (Stefan Claas)
Groupes : sci.cryptDate : 21. Sep 2024, 09:53:07
Autres entêtes
Organisation : Ch1ffr3punk5
Message-ID : <21d9cacfcaca52c76b8c4c505cd638d0a308250b@i2pn2.org>
References : 1
User-Agent : flnews/1.3.0pre11 (for GNU/Linux)
Stefan Claas wrote:
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.
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. :-)
-- RegardsStefan