encryption module
Project description
Useful modules for encryption and file encryption and decryption (currently only string decryption)
test
making key code :
print(destr.make_key('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'))
# result : [97, 97, 97, 97,
# 97, 97, 97, 97,
# 97, 97, 97, 97,
# 97, 97, 97, 97,
# 97, 97, 97, 97,
# 97, 97, 97, 97,
# 97, 97, 97, 97,
# 97, 97, 97, 97]
encrypting code
print(destr.ens('this is test str.', destr.key))
# result : b'89k2hfSgnomKayxjTYPH4rxGGMSZORJJueh8x53OCaXq4+UFzTWeU2qjQQcqmtMV'
print(destr.ens('this is test str.', destr.key))
# result : b'qfEw+NuqhmIsq1DbXZh6glNEQSW3EUkZWxFEOdQwdSudTGWszjA17BNF27hSgBgs'
print(destr.ens('this is test str.', destr.key))
# result : b'xxMjhD7BbBTNKYDWM9W9F51n13VgxGtUqYbVGx5ErBvcWBVHG4umnaHPPsoobcj2'
print(destr.ens('this is test str.', destr.key))
# result : b'JdheT2cei4KTYHY3I8aMMi+9xYX#+ugySPBGLAuUpZE6VlSNWKmguyifgI5yxh8YG'
decrypting code
print(destr.des(b'89k2hfSgnomKayxjTYPH4rxGGMSZORJJueh8x53OCaXq4+UFzTWeU2qjQQcqmtMV', destr.key))
# result : 'this is test str.'
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
ensdat-0.0.2.tar.gz
(4.2 kB
view details)
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 ensdat-0.0.2.tar.gz.
File metadata
- Download URL: ensdat-0.0.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27a096ed4079555de1f7d2eced13fabeaa01cf1fd59063805cd2b1fe5e97c216
|
|
| MD5 |
b6364142aa84cad46dd4effffdcfc15c
|
|
| BLAKE2b-256 |
504edfa9e1109537d66379d7121a50aa194facdc39fd644f9418b4e207f4df4a
|
File details
Details for the file ensdat-0.0.2-py3-none-any.whl.
File metadata
- Download URL: ensdat-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
893f9beee3730b4bb8109139df8a520693fad4edf7f7d95ccc72794b941a649e
|
|
| MD5 |
04c7d60e9ca831699e3c98343307060a
|
|
| BLAKE2b-256 |
3de48a67414206f44ad19e7d89cee59c2eddac3ff2bdef899647514b3126fcb0
|