Skip to main content

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.

Using provided pipenv

See pipenv-howto.md

Launch linters

They use the configuration from pyproject.toml

pipenv run ./lint

Test

pipenv run pytest

Download files

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

Source Distribution

hdrbg-1.0.1.tar.gz (503.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-1.0.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hdrbg-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f20bb2b9bd20be80da1a0bc79f93fd60abdf4eab0ea44cf09a5a8167d200122b
MD5 30f740a98875e7596616c6c30bd82087
BLAKE2b-256 43884c768ee57f80af380c530a266fd3c1cc9b6832f19841f5f91e8607bd979d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hdrbg-1.0.1.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-1.0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for hdrbg-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8a878560467144ca6763f0fe6e5dc06117caf23a882ec9dd9d56cf7402aeacd5
MD5 f02a094aee4ed031c6a8c5fb4d35e8f4
BLAKE2b-256 3d3554dde8d8eb4ce3593ccd779a38c8c51d707c772094ca34098fd960602703

See more details on using hashes here.

Provenance

The following attestation bundles were made for hdrbg-1.0.1-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.

Release history Release notifications | RSS feed

1.1.0

2 files

This release

1.0.1 This release

2 files

1.0.0

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.2

2 files

Supported by

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