BSD Ports

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

SystemPortVersion
MidnightBSDsecurity/py-pycryptodome3.21.0_1
FreeBSDsecurity/py-pycryptodome3.24.1
DragonFlysecurity/py-pycryptodome3.21.0
HardenedBSDsecurity/py-pycryptodome3.23.0
GhostBSDsecurity/py-pycryptodome3.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

Test 2

Build dependencies 1

Configuration

No options to configure.

USES
cpe python
Service scripts
none
Conflicts with
${PYTHON_PKGNAMEPREFIX}pycrypto

Files

distinfo 1
FileSizeSHA256
pycryptodome-3.21.0.tar.gz4.818071e+06f7787e0d469bdae763b876174cf2e6c0f7be79808af26b1da96f1a64bcf47297
Master sites 1
  • PYPI