A powerful encryption and decryption library
Project description
Secrypto
Secrypto is an excellent cryptographer, with more than $4.5e806$ (45 with 805 following zeros!) possible combinations.
Contents
How To Use
Create a Key
from Secrypto import Key
key = Key()
Key can have the following parameters:
alterations(optional) (default -> 3) - This defines the number of alterations for each character.seed(optional) (default -> None) - This defines the random seed at which the key will be made
You can also get the seed at which the Key is made and the key itself.
To get the key and the seed from the Key you can write:
from Secrypto import Key
key = Key()
print(key.key)
print(key.seed)
Encryption and Decryption
When you have the key, it is pretty simple to encrypt and decrypt.
from Secrypto import Key, encrypt, decrypt
key = Key()
text = "Hello, World"
encryption = encrypt(
text,
key
)
print(encryption)
decryption = decrypt(
encryption,
key #the same key should be used.
)
print(decryption)
if text == decryption:
print("success!")
Secrypto is licensed under the CC0 1.0 Universal License.
Follow the CONTRIBUTING.md to ensure a smooth contribution process.
Secrypto has the Contributor Covenant Code of Conduct.
To view the security and data safety of Secrypto, see SECURITY.md.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file secrypto-1.1.0.tar.gz.
File metadata
- Download URL: secrypto-1.1.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b13a281d8bb64101e25172f76bf58f423cb97e761c7bafe7a483234c91f42dec
|
|
| MD5 |
f68bf14e1fb3a94e1795dd861e5dc1ed
|
|
| BLAKE2b-256 |
d947e2e444dec968a26fc2524c6d98bcc9893fda9d90d724a4d949c9f0515dde
|
File details
Details for the file secrypto-1.1.0-py3-none-any.whl.
File metadata
- Download URL: secrypto-1.1.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1334d521c693de67cfd58ed7f71d28f9ea3fa2cb80c018a079a21e2e8c40f63
|
|
| MD5 |
acf5d5fa3312341c7f53ae4ad2585adb
|
|
| BLAKE2b-256 |
9fc51d8a74329db32eb9c1ab6e557a51ed1ecdb8c48a6da08eb9973c5369b81f
|