Skip to main content

picrypt

'picrypt' is a simple cryptographer.

Install

pip install picrypt

Example

import picrypt

token = "banana" # you can use picrypt.generate_token() to generate a random token
encryptor = picrypt.Encryptor(token)
encrypted = encryptor.encrypt("hello world")
decrypted = encryptor.decrypt(encrypted)
print("Encrypted:", encrypted)
print("Encrypted:", decrypted)

Result:

Encrypted:  [63336, 61509, 65772, 65772, 67599, 19488, 72471, 67599, 69426, 65772, 60900]
Decrypted:  hello world

Use the token to encrypt and decrypt.

Metadata

Release files for picrypt 1.0.3

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

Source distribution (sdist)

Source distribution for picrypt 1.0.3
File Size Uploaded Provenance Actions
picrypt-1.0.3.tar.gz 1.9 kB Without provenance Details for picrypt-1.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 3.9 kB

Release files / picrypt-1.0.3.tar.gz

Download URL picrypt-1.0.3.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
20f0e2f2650dc20070efbe206d89ba942a071b9518f6869baaaf3e9ae335fe5c
BLAKE2b-256 checksum
How to use checksums
227f90965b4d2e5fa476249985f7945f2da8be7cc8e169fb58c5bfb135a72115
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / picrypt-1.0.3-py3-none-any.whl

Download URL picrypt-1.0.3-py3-none-any.whl
Size 2.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
adee518b997dd9f1dd3c2f58a3c5cb19d876359662ad83ada9477a5f0107e26a
BLAKE2b-256 checksum
How to use checksums
7bb029ee6902e8541e2f084a984ab7d35ef8509c5c7276615c5ef7673b35d9dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Security for picrypt 1.0.3

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.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files No provenance

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