Sujet : Re: AES-256-GCM
De : fgrsna.pynnf (at) *nospam* vagrearg.eh (Stefan Claas)
Groupes : sci.cryptDate : 31. Mar 2025, 16:49:33
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <1b3c9e45133d8cbf3b403e1724997e70f03b0bf6@i2pn2.org>
References : 1
User-Agent : flnews/1.3.0pre29 (for GNU/Linux)
Stefan Claas wrote:
Hi all,
I just want to know if your AES encryption program is compatible with mine.
Can you please test that.
Here is the encryption key:
d33572d668cb7b8f5323bf160309c98d85a9668e26f6df9c667a50982de40123
And here is a message, encrypted with that key 3x times:
vScVj7ieDfqg7a3TczIWghXtK7X6sB30Ao5c0klQvPunYaiTPMMCHfBQKYXfad72BL4=
f97/zGwNCW1FNAuutqinrkgyAMvk6BTKHLKZXl9ggxYosC3/zOGz9eJZ9PTn1Z3erJ8=
lt3QT+aeM+8HQMAIwxdEjTfCQ4viWv5x1UmUnLUvkCStXkYsa+d27NO/b19Q0wC3/uI=
My program works like this:
$ aes keyfile < infile > outfile
$ aes -d keyfile < infile > outfile
Mmmmhhh, maybe my OpenSSL version is too old or I do something wrong. :-(
$ openssl enc -aes-256-gcm -d -in message.txt -out decrypted.txt -K d33572d668cb7b8f5323bf160309c98d85a9668e26f6df9c667a50982de40123
enc: AEAD ciphers not supported
enc: Use -help for summary.
$ openssl version
OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024)
Regards
Stefan
-- Onion Courier Home Server Mon-Fri 15:00-21:00 UTC Sat-Sun 11:00-21:00 UTCohpmsq5ypuw5nagt2jidfyq72jvgw3fdvq37txhnm5rfbhwuosftzuyd.onion:8080 inbox