GeekCrypt - coders fun art project ! its a simple brainfuck example and usual fun 4 geeks! Fully opensource project! used only opensource tools and apps too! This 400 bytes - its a first opensource T-shirt code! Its not a sucks like other! not like just stupid texts like: admin, root@localhost, 127.0.0.1, opensoure, linux .... Its a FIRST REAL OPENSOURCE T-SHIRT, read more about how-to build T-shirt from a scratch!
just 400 bytes of pure perl code, 16 lines x 25 rows!
#!/usr/bin/env perl
# its geekcrypt fork me!
# 1st opensource T-Shirt
# < https://git.io/fj6Cw
@_ = qw/OIZEASbTBG 0-9/;
$_[$_]= "$_[$_]\L$_[$_]"
for 0..1;my$u=$ENV{c}*1;
shift and @_= reverse @_
if $ARGV[0]=~/-r/;sub r{
$u>1?$i++%2:$u}while(<>)
{ eval "tr/$_[0]/$_[1]/"
;s/(\w)/r?uc$1:lc$1/sexg
; print } ## hyphop ##
__END__ geekcrypt USAGE
./geekcrypt PLAIN_TEXT >
./geekcrypt -r < CRYPTED
yeah Perl still a live! and good as always)
its very easy - just a echo "its my unique text" | ./geekcrypt
, output this
175 my un1qu3 73x7
Fork me on git*, and make your version of your unique opensource T-shirt.
git clone https://github.com/hyphop/geekcrypt.git
cd geekcrypt
./geekcrypt.decrypt
# text/front.txt - edit this input text file
nano text/front.txt
./geekcrypt.make
# well done!
- text/crypt.txt - cool crypted text
- pics/geekcrypt.1.svg - front side
- pics/geekcrypt.2.svg - back side
- pics/geekcrypt.1.example.png - front side example
- pics/geekcrypt.2.example.pn - back side example
- pics/geekcrypt.example.png - both side example
- pics - show all files
- text - text files
- text/front.txt - (non exist there before run
geekcrypt.decrypt
) or input your original plain text file ( 8 lines x 16 rows = 128 bytes ) - sure u can chouse any size - geekcrypt - encrypt / decrypt tool
- tools/txt2svg - text 2 svg converter
- geekcrypt.make - make all - shell script
- geekcrypt.decrypt - decrypt script
- README.md - read me
tee text/crypt.txt | lpr
1F y0u C4N r34D
7H15. y0u H4V3
4 933K 6R41n5!
pL3453 cH3Ck My
4n07H3R 51d3 !
7H15 15 460U7
0uR 0P3N50uRc3
7-5h1r7 c0d3 ;)
cat geekcrypt | lpr
encrypt mode
geekcrypt [files]
decrypt mode
geekcrypt -r [files]
./geekcrypt text/front.txt > text/crypt.txt
- encrypt file and output to file./geekcrypt -r text/crypt.txt
- decrypt file and output to terminalecho h1 | ./geekcrypt -r
- decrypt pipe input and output to terminalecho hi | ./geekcrypt | ./geekcrypt -r | grep hi && echo ok
- testecho lower case | c=0 ./geekcrypt
- encrypt in lower case outputecho upper case | c=1 ./geekcrypt
- encrypt in upper case outputecho mixed case | c=2 ./geekcrypt
- encrypt in mixed case output
- https://git.io/fj6Cw - this page short link | https://bit.ly/2JpS47V
- https://github.com/hyphop/geekcrypt - this page link
perl
, sh
, inkscape
| ImageMagick tools (convert
)
## hyphop ##