- Notifications
You must be signed in to change notification settings - Fork1.7k
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
License
Unknown and 2 other licenses found
Licenses found
pyca/cryptography
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
cryptography is a package which provides cryptographic recipes andprimitives to Python developers. Our goal is for it to be your "cryptographicstandard library". It supports Python 3.8+ and PyPy3 7.3.11+.
cryptography includes both high level recipes and low level interfaces tocommon cryptographic algorithms such as symmetric ciphers, message digests, andkey derivation functions. For example, to encrypt something withcryptography's high level symmetric encryption recipe:
>>>from cryptography.fernetimport Fernet>>># Put this somewhere safe!>>> key= Fernet.generate_key()>>> f= Fernet(key)>>> token= f.encrypt(b"A really secret message. Not for prying eyes.")>>> tokenb'...'>>> f.decrypt(token)b'A really secret message. Not for prying eyes.'
You can find more information in thedocumentation.
You can installcryptography with:
$pip install cryptographyFor full details seethe installation documentation.
If you run into bugs, you can file them in ourissue tracker.
We maintain acryptography-dev mailing list for development discussion.
You can also join#pyca onirc.libera.chat to ask questions or getinvolved.
Need to report a security issue? Please consult oursecurity reportingdocumentation.
About
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
Topics
Resources
License
Unknown and 2 other licenses found
Licenses found
Contributing
Uh oh!
There was an error while loading.Please reload this page.