pycryptodome
A self-contained cryptographic library for Python
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
4 of 158 committers (2.5%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.4%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
A self-contained cryptographic library for Python
Basic Info
- Host: GitHub
- Owner: Legrandin
- License: other
- Language: C
- Default Branch: master
- Homepage: https://www.pycryptodome.org
- Size: 39.2 MB
Statistics
- Stars: 3,051
- Watchers: 65
- Forks: 536
- Open Issues: 73
- Releases: 37
Topics
Metadata Files
README.rst
.. image:: https://github.com/Legrandin/pycryptodome/workflows/Integration%20test/badge.svg
:target: https://github.com/Legrandin/pycryptodome/actions
.. image:: https://badge.fury.io/py/pycryptodome.svg
:target: https://pypi.org/project/pycryptodome
.. image:: https://badge.fury.io/py/pycryptodomex.svg
:target: https://pypi.org/project/pycryptodomex
PyCryptodome
============
PyCryptodome is a self-contained Python package of low-level
cryptographic primitives.
It supports Python 2.7, Python 3.7 and newer, and PyPy.
The installation procedure depends on the package you want the library to be in.
PyCryptodome can be used as:
#. **an almost drop-in replacement for the old PyCrypto library**.
You install it with::
pip install pycryptodome
In this case, all modules are installed under the ``Crypto`` package.
One must avoid having both PyCrypto and PyCryptodome installed
at the same time, as they will interfere with each other.
This option is therefore recommended only when you are sure that
the whole application is deployed in a ``virtualenv``.
#. **a library independent of the old PyCrypto**.
You install it with::
pip install pycryptodomex
In this case, all modules are installed under the ``Cryptodome`` package.
PyCrypto and PyCryptodome can coexist.
For faster public key operations in Unix, you should install `GMP`_ in your system.
PyCryptodome is a fork of PyCrypto. It brings the following enhancements
with respect to the last official version of PyCrypto (2.6.1):
* Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB, KW, KWP)
* Hybrid Public Key Encryption (HPKE)
* Accelerated AES on Intel platforms via AES-NI
* First class support for PyPy
* Elliptic curves cryptography (NIST P-curves; Ed25519, Ed448, Curve25519, Curve448)
* Better and more compact API (`nonce` and `iv` attributes for ciphers,
automatic generation of random nonces and IVs, simplified CTR cipher mode,
and more)
* SHA-3 hash algorithms (FIPS 202) and derived functions (NIST SP-800 185):
- SHAKE128 and SHA256 XOFs
- cSHAKE128 and cSHAKE256 XOFs
- KMAC128 and KMAC256
- TupleHash128 and TupleHash256
* KangarooTwelve, TurboSHAKE128, and TurboSHAKE256 XOFs
* Truncated hash algorithms SHA-512/224 and SHA-512/256 (FIPS 180-4)
* BLAKE2b and BLAKE2s hash algorithms
* Salsa20 and ChaCha20/XChaCha20 stream ciphers
* Poly1305 MAC
* ChaCha20-Poly1305 and XChaCha20-Poly1305 authenticated ciphers
* scrypt, bcrypt, HKDF, and NIST SP 800 108r1 Counter Mode key derivation functions
* Deterministic (EC)DSA and EdDSA
* Password-protected PKCS#8 key containers
* Shamir's Secret Sharing scheme
* Random numbers get sourced directly from the OS (and not from a CSPRNG in userspace)
* Simplified install process, including better support for Windows
* Cleaner RSA and DSA key generation (largely based on FIPS 186-4)
* Major clean ups and simplification of the code base
PyCryptodome is not a wrapper to a separate C library like *OpenSSL*.
To the largest possible extent, algorithms are implemented in pure Python.
Only the pieces that are extremely critical to performance (e.g. block ciphers)
are implemented as C extensions.
For more information, see the `homepage`_.
For security issues, please send an email to security@pycryptodome.org.
All the code can be downloaded from `GitHub`_.
.. _`homepage`: https://www.pycryptodome.org
.. _`GMP`: https://gmplib.org
.. _GitHub: https://github.com/Legrandin/pycryptodome
Owner
- Name: Helder Eijs
- Login: Legrandin
- Kind: user
- Location: Europe
- Repositories: 5
- Profile: https://github.com/Legrandin
GitHub Events
Total
- Create event: 26
- Release event: 4
- Issues event: 51
- Watch event: 263
- Delete event: 27
- Issue comment event: 55
- Push event: 88
- Pull request review event: 1
- Pull request review comment event: 1
- Pull request event: 27
- Fork event: 57
Last Year
- Create event: 26
- Release event: 4
- Issues event: 51
- Watch event: 263
- Delete event: 27
- Issue comment event: 55
- Push event: 88
- Pull request review event: 1
- Pull request review comment event: 1
- Pull request event: 27
- Fork event: 57
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Helder Eijs | h****s@g****m | 1,787 |
| Dwayne C. Litzenberger | d****z@d****t | 383 |
| akuchling | a****g@r****t | 279 |
| Legrandin | g****o@h****m | 104 |
| Fabrizio Tarizzo | f****o@f****g | 21 |
| Sebastian Ramacher | s****v@r****t | 17 |
| Thorsten Behrens | s****s@g****i | 15 |
| Sebastian Ramacher | s****r@g****t | 13 |
| A.M. Kuchling | a****k@a****a | 12 |
| jelaiw | 1****w | 11 |
| z3p | z****p@r****t | 8 |
| Michael Nix | m****x@g****m | 6 |
| Hugo | h****k | 6 |
| Richard Mitchell | r****l@g****m | 5 |
| Stefano Rivera | s****o@r****t | 5 |
| James | j****n@u****u | 5 |
| moraes | m****s@r****t | 5 |
| Lorenz Quack | d****n@a****m | 4 |
| Michael Schaffner | m****f@g****m | 4 |
| vil02 | 6****2 | 4 |
| Frédéric Bertolus | f****d@l****m | 4 |
| Greg Werbin | g****n | 4 |
| Robey Pointer | r****y@l****t | 3 |
| AlexanderUp | a****0@y****u | 3 |
| oittaa | 8****a | 3 |
| Mickaël Schoentgen | m****n@n****m | 2 |
| amk | a****k@r****t | 2 |
| jbontje | j****e@r****t | 2 |
| André Lochotzke | l****e | 2 |
| Anders Sundman | a****s@4****g | 2 |
| and 128 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 161
- Total pull requests: 116
- Average time to close issues: 10 months
- Average time to close pull requests: 7 months
- Total issue authors: 145
- Total pull request authors: 76
- Average comments per issue: 2.85
- Average comments per pull request: 1.34
- Merged pull requests: 45
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 31
- Pull requests: 29
- Average time to close issues: 27 days
- Average time to close pull requests: 2 months
- Issue authors: 30
- Pull request authors: 14
- Average comments per issue: 0.9
- Average comments per pull request: 0.24
- Merged pull requests: 6
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- kloczek (7)
- Akuli (3)
- bdrung (3)
- mtelka (2)
- kapilt (2)
- MaJerle (2)
- snarfed (2)
- paulehoffman (2)
- user3472g (2)
- bastimeyer (2)
- Morishima-Hodaka (1)
- hugovk (1)
- bannable (1)
- pirrup (1)
- paulwilson90 (1)
Pull Request Authors
- vil02 (19)
- jelaiw (7)
- JamesTheAwesomeDude (4)
- xambroz (3)
- hauntsaninja (2)
- kuolemaaa (2)
- schenker (2)
- kingofpayne (2)
- muelljac99 (2)
- cdce8p (2)
- Prateek2000 (2)
- crass (2)
- solney (2)
- arun-y99 (2)
- rettichschnidi (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 8
-
Total downloads:
- pypi 96,469,639 last-month
- Total docker downloads: 3,997,396,553
-
Total dependent packages: 2,150
(may contain duplicates) -
Total dependent repositories: 24,412
(may contain duplicates) - Total versions: 253
- Total maintainers: 2
- Total advisories: 2
pypi.org: pycryptodome
Cryptographic library for Python
- Homepage: https://www.pycryptodome.org
- Documentation: https://pycryptodome.readthedocs.io/
- License: BSD, Public Domain
-
Latest release: 3.23.0
published 9 months ago
Rankings
Maintainers (1)
Advisories (2)
pypi.org: pycryptodomex
Cryptographic library for Python
- Homepage: https://www.pycryptodome.org
- Documentation: https://pycryptodomex.readthedocs.io/
- License: BSD, Public Domain
-
Latest release: 3.23.0
published 9 months ago
Rankings
Maintainers (1)
conda-forge.org: pycryptodome
- Homepage: http://www.pycryptodome.org
- License: BSD-2-Clause
-
Latest release: 3.15.0
published over 3 years ago
Rankings
proxy.golang.org: github.com/legrandin/pycryptodome
- Documentation: https://pkg.go.dev/github.com/legrandin/pycryptodome#section-documentation
-
Latest release: v3.23.0+incompatible
published 9 months ago
Rankings
conda-forge.org: pycryptodomex
PyCryptodome is a self-contained Python package of low-level cryptographic primitives.
- Homepage: http://www.pycryptodome.org
- License: Public Domain/BSD 2-Clause
-
Latest release: 3.15.0
published over 3 years ago
Rankings
anaconda.org: pycryptodome
PyCryptodome is a self-contained Python package of low-level cryptographic primitives. PyCryptodome is not a wrapper to a separate C library like OpenSSL. To the largest possible extent, algorithms are implemented in pure Python. Only the pieces that are extremely critical to performance (e.g. block ciphers) are implemented as C extensions.
- Homepage: https://www.pycryptodome.org
- License: BSD-2-Clause AND Unlicense
-
Latest release: 3.21.0
published about 1 year ago
Rankings
anaconda.org: pycryptodomex
PyCryptodome is a self-contained Python package of low-level cryptographic primitives.
- Homepage: https://www.pycryptodome.org
- License: Public Domain/BSD 2-Clause
-
Latest release: 3.21.0
published about 1 year ago
Rankings
pypi.org: cryptoconf
- Documentation: https://cryptoconf.readthedocs.io/
- License: MIT
-
Latest release: 0.0.4
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v3 composite
- github/codeql-action/analyze v2 composite
- github/codeql-action/autobuild v2 composite
- github/codeql-action/init v2 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- ilammy/msvc-dev-cmd f456b805b3f63911738cb71d4f255e4e129c7e7a composite
- actions/checkout v3 composite
- actions/download-artifact v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- ilammy/msvc-dev-cmd v1 composite
- pypa/cibuildwheel v2.11.2 composite
- pypa/cibuildwheel v1.12.0 composite
- pycryptodome-test-vectors ==1.0.10 test
- sphinx ==7.1.0