Encroval is an encryption tool that allows you to encrypt a text into other text or image using a password.
It can encrypt a text of any length and the password can be up to 2128 bits long and accepts any UTF-8 character (1,112,064 different characters).
pip3 install -r requirements.txtPlace the text you want to encrypt (a .txt file) in the input folder.
Place the text you want to encrypt (a .txt file) or the image (a .png file) in the input folder.
python3 main.pyYou can change the POS_LEN in the config.py file, which changes the input text's maximum length.
Default is POS_LEN = 4, so the maximum length the text can have by default is 32,446
The more the POS_LEN is, the longer the text can be, but the longer it will take to encrypt and decrypt it.
| POS_LEN | Max text lenght |
|---|---|
| 1 | 2 |
| 2 | 107 |
| 3 | 2,026 |
| 4 | 32,446 |
| 5 | 524,169 |
| 6 | 8,386,749 |
| 7 | 134,188,028 |
| 8 | 2,147,329,544 |
| ... | ... |
POS_LEN = 2This is a test 123!!!
It can have every UTF-8 character! ✔️ ❤️ ☆test#@–{}password123¿?3e8b00b4bcbb4ff246fdb3bc9afd63cf080e1cbefdc4b4bb2b5f1400f3fd4e6cb10d40825d0ab41e080e4e751a1ebbb8e7c4448fc14434d5c84d7fb3cc68e2c66033d5cfeece84bd256888b5e3dbb5bdc7fd47845be373e44bc8defbabb92e544f5eb0b4c43403084344d663This is a test 123!!!
It can have every UTF-8 character! ✔️ ❤️ ☆test#@–{}password123¿?This is a test 123!!!
The text can have every UTF-8 character! ✔️ ❤️ ☆test#@–{}password123¿?This is a test 123!!!
The text can have every UTF-8 character! ✔️ ❤️ ☆


