Skip to main content

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Project description

This project is a branch of cryptography on QPython.

cryptography is a package which provides cryptographic recipes and primitives to Python developers. Our goal is for it to be your “cryptographic standard library”. It supports Python 3.7+ and PyPy3 7.3.11+.

cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions. For example, to encrypt something with cryptography’s high level symmetric encryption recipe:

>>> from cryptography.fernet import Fernet
>>> # Put this somewhere safe!
>>> key = Fernet.generate_key()
>>> f = Fernet(key)
>>> token = f.encrypt(b"A really secret message. Not for prying eyes.")
>>> token
b'...'
>>> f.decrypt(token)
b'A really secret message. Not for prying eyes.'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cryptography_qpython-44.0.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cryptography_qpython-44.0.0-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file cryptography_qpython-44.0.0.tar.gz.

File metadata

  • Download URL: cryptography_qpython-44.0.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for cryptography_qpython-44.0.0.tar.gz
Algorithm Hash digest
SHA256 c03d8d59498af4ef53de7b6310238619745e96e459a1b6d0785086c5fab7741c
MD5 2fbf5048f436b9e53c1f65b70ad9df65
BLAKE2b-256 509bc110d717843bd52983afa6c0863e8b0a2a15850303e953a75d1f966674d9

See more details on using hashes here.

File details

Details for the file cryptography_qpython-44.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cryptography_qpython-44.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 adb90ef8227dd1da7815b252de5c9b8a242dc212fb9687ab48d7604d0fe7e347
MD5 febf1aed97a55fc6f572058f2c09166d
BLAKE2b-256 5e89760b5fbba9f36602f387eb7988cc0667452558c200ab457aa30517112080

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page