steganographic-polyglots
July 16, 2016 ยท View on GitHub
This repo is an experiment with hiding code from one programming language inside of another. It started as a joke about steganography and the whitespace language.
You'll probably want a whitespace interpreter to play around.
Golang + whitespace
hello.go is your standard hello world program written in golang, but the
whitespace describes a different program.
go run hello.gowhitespace hello.go
HTML + whitespace
html/index.html contains a Polymer TO-DO list app, which works in a modern web
browser, but the whitespace describes a fibonacci number calculator.
- From
htmldirectory, runbower updateto install web components docker-compose upand navigate tohttp://localhost(or wherever)curl localhost > todo.html; whitespace todo.html
NodeJS + whitespace
nodejs/figlet.js reads text from stdin and uses figlet to render the input
using figlet fonts, but the whitespace code counts to 10.
npm install figletnode figlet.jswhitespace figlet.js