Skip to content

RSA T-Shirt

Updating it for the modern era with qr-codes that have error correction and redundancy, rather than linear barcodes that were never easy to scan.

Munitions T-Shirt with qr codes and perl scripts

RSA

The Official site has a three line version, which doesn't match the original t-shirt, along with other versions and the backstory.

#!/bin/perl -s-- -export-a-crypto-system-sig -RSA-3-lines-PERL
$m=unpack(H.$w,$m."\0"x$w),$_=`echo "16do$w 2+4Oi0$d*-^1[d2%Sa
2/d0<X+d*La1=z\U$n%0]SX$k"[$m*]\EszlXx++p|dc`,s/^.|\W//g,print
pack('H*',$_)while read(STDIN,$m,($w=2*$d-1+length$n&~1)/2)

Diffie-Hellman

#!/usr/bin/perl -- -export-a-crypto-system-sig Diffie-Hellman-2-lines
my($g,$e,$m)=@ARGV;$m||die"$0 gen exp mod\n";print
`echo "16dio1[d2%Sa2/d0<X+d*La1=z\U$m%0]SX$e"[$g*]\EszlXx+p|dc`

2020 Security Cryptography


Last update: November 9, 2020