Skip to content

Michael4d45/Tunny

Repository files navigation

Tunny

A replication of the Lorenze SZ Cypher

Installation

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

What's going on

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.

Live example

You can go to tunny.michael4d45.com

Lessons learned

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••'.

About

A replication of the Lorenze SZ Cypher

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published