Embed secrets in text that appears normal to the naked eye.
An exploration of using the cyrillic alphabet alongside the standard alphabet.
Basically, some cyrillic letters look just like the ones you'd type with your keyboard, but they aren't. There's a lotta abuse that can happen because of this, like account impersonation. Discord makes usernames unique by giving them a discriminator. But Discord also allows just about any character in a username, including cyrillic. And, with Discord Nitro, you can change your discriminator. All you have to do to impersonate someone is get discord nitro, run their username through this program, and now you've got a seemingly identical account, aside from the account ID.
It also presents trickery with domain names. Here, go to facebook, I swear it's actually facebook. (Don't actually go here, it could be a domain in use by someone malicious, and I haven't checked it yet) https://fаcebook.com
But here's where cyrillic becomes fun: if you want to embed secret messages. This program does that by converting a message to binary, and every time it comes across a letter than can be "cyrillicized", it decides to make it cyrillic based on the current index in the binary message being either a 0 or a 1. It can also decode. Have fun sending secret messages to people, signing your essays covertly, or impersonating people on platforms that aren't strict with usernames.
python3 main.py
--text ["your text here"]
: A string to use as the input
--readfrom ["filename.txt"]
: Use a file instead of --text
--output ["filename.txt"]
: The file to output. If not supplied, the program will print to the terminal
--secret ["secret message"]
: Signs a secret message
--getsecret
: Gets a secret message.
To simply sign a message randomly
python3 main.py --text "hello world"
To use a file as message input
python3 main.py --readfrom input.txt
To output the message to somewhere other than the terminal
python3 main.py --readfrom input.txt --output output.txt
To embed a secret message
python3 main.py --readfrom input.txt --output output.txt --secret "secret message"
To decrypt a secret message
python3 main.py --readfrom output.txt --getsecret