security/py-pycryptodome 3.21.0_1 MidnightBSD
Cryptographic library for Python
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- publicdom, bsd2, Apache-2.0
- Categories
- security, python
Description
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) * Accelerated AES on Intel platforms via AES-NI * First class support for PyPy * Elliptic curves cryptography (NIST P-curves; Ed25519, Ed448, Curve25519) * Better and more compact API * SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms * Salsa20 and ChaCha20 stream ciphers * scrypt and HKDF * 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
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | security/py-pycryptodome | 3.21.0_1 |
| FreeBSD | security/py-pycryptodome | 3.24.1 |
| DragonFly | security/py-pycryptodome | 3.21.0 |
| HardenedBSD | security/py-pycryptodome | 3.23.0 |
| GhostBSD | security/py-pycryptodome | 3.23.0 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}pycryptodome
From mports:
cd /usr/mports/security/py-pycryptodome && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Test 2
${PYTHON_PKGNAMEPREFIX}pycryptodome-test-vectors>=0: security/py-pycryptodome-test-vectorsgmp>=0: math/gmp
Build dependencies 1
Required by 3
Configuration
No options to configure.
- USES
- cpe python
- Service scripts
- none
- Conflicts with
- ${PYTHON_PKGNAMEPREFIX}pycrypto
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pycryptodome-3.21.0.tar.gz | 4.818071e+06 | f7787e0d469bdae763b876174cf2e6c0f7be79808af26b1da96f1a64bcf47297 |
Master sites 1
- PYPI