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.1.2.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.1.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hdrbg-0.1.2.tar.gz
  • Upload date:
  • Size: 490.0 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.2.tar.gz
Algorithm Hash digest
SHA256 b76eee0f2a72e757d846dc33b700e6cd1c9c50fd1ef06c64f139ee40977b8841
MD5 eb9202f920c52ec44455d6bf90c50892
BLAKE2b-256 b80db6b4a20e3c4129a78c19668ac4c02b5630c8e4814cdca9a952eb7b83b859

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hdrbg-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 44579966a341709ecfa0b9e70ab8424f4f408c5e9a45300bcd1dfdef69aac07c
MD5 ea30967255aea0de270aa266e0cb134c
BLAKE2b-256 85f614847132d5702963e2f90d26b1539dbe1b26e97efe998d28bb2a431a0494

See more details on using hashes here.

Provenance

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