This project has been archived by its maintainers, and is no longer receiving any updates.
Secrypto
Secrypto is an excellent cryptographer, with more than $4.5e806$ (45 with 805 following zeros!) possible combinations.
Contents
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.
Release files for secrypto 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| secrypto-1.1.0.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| secrypto-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.0 kB
Release files / secrypto-1.1.0.tar.gz
| Download URL | secrypto-1.1.0.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b13a281d8bb64101e25172f76bf58f423cb97e761c7bafe7a483234c91f42dec
|
|
BLAKE2b-256 checksum How to use checksums |
d947e2e444dec968a26fc2524c6d98bcc9893fda9d90d724a4d949c9f0515dde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / secrypto-1.1.0-py3-none-any.whl
| Download URL | secrypto-1.1.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1334d521c693de67cfd58ed7f71d28f9ea3fa2cb80c018a079a21e2e8c40f63
|
|
BLAKE2b-256 checksum How to use checksums |
9fc51d8a74329db32eb9c1ab6e557a51ed1ecdb8c48a6da08eb9973c5369b81f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|