Encrypt like a dragon: new method for securing data
Reason this release was yanked:
Does not work :3c
Project description
Dragon-E
What is it?
Dragon-E is a simple but powerful library to encode messages. It relies on the end-user having the decryption key.
What does it look like?
Encoded messages will look something like this:
154:221:169:238:253:184:108:204:179:230:206:254:185:220:241:251:179:135:226:169:116:183:139:180:240:245:178:192:254:170:236:195:237:189:148:168:241:166:218:242:86:200:197:139:189:250:243:106:188:232:168:238:189:236:174:150
In this case, the original message was Dragon Encryption is a lightweight, easy to use package. and was encoded using the passkey AV3ry57r0nGp4Ssw0Rd!?.
What makes it so amazing?
- Unlike some other encryption methods, the encoded message's length is not dependent on the passkey's length. This makes it more difficult to guess the passcode.
- Every part of the passkey is important, meaning that you can't solve it all at once.
- The longer the message and passkey, the more difficult it is to decode.
How can I download it?
pip install dragon-e
EXAMPLE
Encrypting
from dragon_e import dragon_e as de
important_info = de.encrypt("Don't share this info with anybody!", "V3ry57r0ngS3cuR17yK3Y")
with open('secret_file.dragon', 'w') as f:
f.write(important_info)
Decrypting
from dragon_e import dragon_e as de
f = open('secret_file.dragon', 'r')
super_secret = f.read()
f.close()
decrypted = de.decrypt(super_secret, "V3ry57r0ngS3cuR17yK3Y")
print("Decoded information: "+decrypted)
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 dragon_e-2.0.0.tar.gz.
File metadata
- Download URL: dragon_e-2.0.0.tar.gz
- Upload date:
- Size: 89.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3451dff9b422200154df68680cf5ceed4965d5ebd92288f5d433ae1c86e44eeb
|
|
| MD5 |
c438ceb0962b60962ab58b8f843c1b43
|
|
| BLAKE2b-256 |
12497a43c5b4a5c1f4195b480630b08382a8dde945a7f8988ced2a607b59e430
|
File details
Details for the file dragon_e-2.0.0-py3-none-any.whl.
File metadata
- Download URL: dragon_e-2.0.0-py3-none-any.whl
- Upload date:
- Size: 89.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7041df12c40e7425cd88c4c1aa2d19f6878eef166b98718e883df2a5e5d46d8
|
|
| MD5 |
4e76d8148a67a14cd8b0b3518365ca64
|
|
| BLAKE2b-256 |
b0029b8d4e2d2011a4b0f11dabda1e363aa368bcc3e9c2ea8ab5b71dd929d2cc
|