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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hdrbg-0.1.0.tar.gz
  • Upload date:
  • Size: 489.7 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.0.tar.gz
Algorithm Hash digest
SHA256 63b8753bb2811f623d50c8038ea62cc6bac7005ffa0036c73b935fe5fb758860
MD5 bdeb374502d2ad9391b9e33c9685479f
BLAKE2b-256 8bce72ddf1bd477f474bd720512dab05886a4a576fe712a870a02b76b1262836

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hdrbg-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b51bf117996ea0409a901e02a343b8f29362c8918821c84d193876e6e34575c
MD5 7378bdd9028c90c240fc996f87ba086f
BLAKE2b-256 286d14c71a94de65c3d334b257705f82fa812db538dab6b1d9ff7d46736a62f9

See more details on using hashes here.

Provenance

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