Skip to main content

TuubaCrypt - the least useful encryption and decryption algorithm.

Project description

TuubaCrypt 🎺

They say you should never write your own encryption algorithm. Sounds like fun. That's what we are going to do.

"Tuuba" is Finnish and translates to "Tuba" since this package is as useful to the software development as a random person sitting in your office playing tuba.

Encrypting Data

Encryption works for letters A-Z and numbers 0-9, and is case sensitive. Every other character in input data flows through unchanged. To be really secure silly, package translates letters and numbers wrapping at edges, e.g. Z => A and 9 => 0.

First affected character is translated by 1 (A => B or 1 => 2). Second affected character is translated by 2 (O => Q or 7 => 9) until the end of the string.

Decrypting Data

Decryption works in a similar manner by translating characters in different direction. For example, the fourth affected character in decryption is translated like K => H or 2 => 8.


This project ships with a command-line tool called tcrypt to mess with your data.

pip install --upgrade tuubacrypt
tcrypt --help


Just walk away, OK?




Mikko Vieru, for the wacky idea.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tuubacrypt, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size tuubacrypt-0.4.0-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tuubacrypt-0.4.0.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page