Skip to main content

NIST SP800-90A hash DRBG

Project description

hash-drbg

SP800-90A Hash DRBG

CI/CD CI - Test CD - Build Documentation Status
Package PyPI - Version PyPI - Python Version
Meta Hatch project linting - Ruff code style - Black License - apache-2.0

Pure python implementation of NIST SP800-90A Hash DRBG.

It currently does not implement reseed mechanism.

User documentation is hosted on readthedocs.

Installation

python3 -m pip install hdrbg

Test with pytest

pytest-3

Test without pytest

Tests can run without creating/installing the package:

python3 -m test.test

you can also run each test separately:

python3 -m test.test_cavp

Build the package

Build is done using hatchling. The script build allows to build for different version of python3:

./build python3.10

Create a new version

Version is managed by hatch-vcs, you just need to create a tag in github.

Launch linters

They use the configuration from pyproject.toml

./lint

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hdrbg-0.2.0.tar.gz (490.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hdrbg-0.2.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file hdrbg-0.2.0.tar.gz.

File metadata

  • Download URL: hdrbg-0.2.0.tar.gz
  • Upload date:
  • Size: 490.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hdrbg-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6f7b49d99429cb7744519d378c6f0a4276ac0ab1c5bf230ad082e77ff7a4dcc5
MD5 ab9ad6456c366d2c72a55404677eff5f
BLAKE2b-256 ff410e149ed1208c044643f99cddf73de2accbf4046aff76db895473228d0b5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for hdrbg-0.2.0.tar.gz:

Publisher: python-publish.yml on sebastien-riou/hash-drbg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hdrbg-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: hdrbg-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hdrbg-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c181e1a26c817db6a844c5cba405646cce3a9017191464958e83db7ceaaa705
MD5 c31acdeeccb22ca22cad17f2df8ed414
BLAKE2b-256 155c2b5c403acc1ac9560ba4b339a812322b600c0a003ba942dbac04bfbc2976

See more details on using hashes here.

Provenance

The following attestation bundles were made for hdrbg-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on sebastien-riou/hash-drbg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page