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.

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.1.1.tar.gz (489.8 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.1.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hdrbg-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9b752a189386cb946cf18d543abedeb0fbad7969d305c7758755196d666eaa0f
MD5 8706c7eb3bbc0d94be3df2990ababdf5
BLAKE2b-256 ce62acb1aa6abf006d667e5ac3613eca26df7ed282c2734690a04d714258d75b

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for hdrbg-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ecd2d46adb38b12cad69f350f2c2bff76c3de6f90bb823ec24ce880f47c52121
MD5 13ce5d85a12ed8d665b33ce26842da19
BLAKE2b-256 f833513262d7223d5a36a45e1c5d579b8bf73ebf99b87ff5d8986d5e0dcf4904

See more details on using hashes here.

Provenance

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

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