A encryption which decrypts using brute force.
Project description
bfencryption
A encryption tool.
Simple encryption
Use
encrypt(<input>, <key>)
to use the simple encryption. It returns the encrypted string.
Use
decrypt(<encrypted input>, <key>)
to decrypt a simple encrypted string. It returns the decrypted string.
Safer encryption
This version is safer, but the encrypted string is very long.
You need to specify the security level. The higher the security level,
the longer the encrypted string, and it needs longer to decrypt.
Security levels
1 is the same as the simple encryption.
The higher you go, the longer it takes to decrypt it.
2 or 3 is good for the most use cases.
Use
safe_encrypt(<input>, <key>, <security level>)
to encrypt a string with a security level. It returns the encrypted string.
Use
safe_decrypt(<encrypted input>, <key>, <security level>)
to decrypt an encrypted string with a security level.
The security level has to be the same as the security level used in the encryption.
It returns the decrypted string.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bfencryption-0.1.5.tar.gz
.
File metadata
- Download URL: bfencryption-0.1.5.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ccf774410e0cd1d791abe86e864a43bdb57b9e4e23dc7f78044e6ac1a55539b |
|
MD5 | 4fb7a1760b092031773374e10e862490 |
|
BLAKE2b-256 | dff78fde8c16ad4824f951488a5f18749f84ba92943cc2a8c8ac44674053fbbc |
File details
Details for the file bfencryption-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: bfencryption-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59c411d05b017ae77557f311319fd33a2055f72f92e14803475e823f00c37b4c |
|
MD5 | ff805402022f0a9da645930f87ced4fd |
|
BLAKE2b-256 | 5e4eeab1b53c8df4ed98be4d9afe64fdbfbed5aa47d99173d68ec82b56b6a239 |