Secrypt
Simple Crypting library for python
Usage:
import secrypt
# create a crypt object
c = secrypt.Crypt(key=0.0) # key : 0.0 is the default
# encrypt string
data = "hello world!"
en = c.encrypt(data) # returns encrypted data
# decrypt string
de = c.decrypt(en) # returns original data
# write encrypted file
content = """Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum."""
c.write("test.txt", content) # returns size of encrypted file
# read encrypted file
retrieved = c.read("test.txt") # return original file data
Metadata
Release files for secrypt 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| secrypt-2.0.1.tar.gz | 2.2 kB | Without provenance | Details for secrypt-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| secrypt-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for secrypt-2.0.1-py3-none-any.whl |
Total release size: 5.5 kB
Release files / secrypt-2.0.1.tar.gz
| Download URL | secrypt-2.0.1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26faf152967cb6b2dcdaed83711eacdd5d43349de7880c23b7fb846684481525
|
|
BLAKE2b-256 checksum How to use checksums |
cd613c402377ad6892f14fb74626a0e07782ee3dffb9609444a3d2f22ef7ec9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0
|
Release files / secrypt-2.0.1-py3-none-any.whl
| Download URL | secrypt-2.0.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8691116cc2da51753a6933aabecda476861a04779a68acd0053d2b82fcd0aa92
|
|
BLAKE2b-256 checksum How to use checksums |
ff06033ae37ea1a2fe1dfb4a86b2c253822a155aa8f4f779724c0562432637cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0
|
Security for secrypt 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.