Skip to main content

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.'

Metadata

Release files for ensdat 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ensdat 0.0.2
File Size Uploaded
ensdat-0.0.2.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ensdat 0.0.2
File Interpreter ABI Platform
ensdat-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / ensdat-0.0.2.tar.gz

Download URL ensdat-0.0.2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
27a096ed4079555de1f7d2eced13fabeaa01cf1fd59063805cd2b1fe5e97c216
BLAKE2b-256 checksum
How to use checksums
504edfa9e1109537d66379d7121a50aa194facdc39fd644f9418b4e207f4df4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.1

Release files / ensdat-0.0.2-py3-none-any.whl

Download URL ensdat-0.0.2-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
893f9beee3730b4bb8109139df8a520693fad4edf7f7d95ccc72794b941a649e
BLAKE2b-256 checksum
How to use checksums
3de48a67414206f44ad19e7d89cee59c2eddac3ff2bdef899647514b3126fcb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.1

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page