A replication of the Lorenze SZ Cypher
Firstly create a .env file.
- to install the libraries.
npm install
- to build production.
npm run prod
- to continuously build.
npm run watch
- to run the server
npm run serve
The Tunny machine translates a message into Teletype alphabet in 5 bit pulses, then encodes the message with the Lorenze SZ Cypher.
This cypher works by adding a key to the message based on the initial settings.
This application takes the message and encodes it. Then it sends the encoded message to anyone in the same room. Anyone with the same settings and same room should transmit readable messages to each other.
You can go to tunny.michael4d45.com
I learned how to set up a socket.io app with Nginx (help from here). I learned a lot about the design of the Tunny machine. For a history, check out this book. Though in the book, page 349 citing this, it says 'I' is encoed by '•XX•X' which is P, I is '•XX••'.