OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

py3-cryptodomex-3.23.0

self-contained cryptographic library for Python

Back to search · Project homepage

Description

PyCryptodome is a self-contained Python package of low-level cryptographic primitives. It is an cleaned and simplified fork of PyCrypto, exposing almost the same API. Most applications run unmodified, apart from a very few compatibility breaks for those parts of the API that represented a security hazard or that were too hard to maintain. 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. PyCryptodomeX provides the same library as PyCryptodome but under the Cryptodome module name rather than Crypto. As well as functionality supported by PyCrypto, this adds support for: - Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB) - Elliptic curves cryptography (NIST P-256 curve only) - SHA-3 (including SHAKE XOFs), SHA-512/t and BLAKE2 hash algorithms - Salsa20 and ChaCha20 stream ciphers - scrypt and HKDF - Deterministic (EC)DSA

Package information

Ports path
security/py-cryptodomex
Package architecture
amd64
Maintainer
Stuart Henderson <stu.ports@spacehopper.org>
Categories
security, lang/python
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

Test

Used by (14 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON