hash-drbg
SP800-90A Hash DRBG
| CI/CD | |
| Package | |
| Meta |
Pure python implementation of NIST SP800-90A Hash DRBG tested against NIST test vectors.
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
Building the docs
cd docs
pipenv install --dev
pipenv run make html
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hdrbg-1.1.0.tar.gz.
File metadata
- Download URL: hdrbg-1.1.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b30eddf37594e59542d9e2ba6ccccc227bb973c7057837e6d78e301f39dc16ed
|
|
| MD5 |
d86b7db7ee7be95c35365b82836fc4c2
|
|
| BLAKE2b-256 |
19c6d9bbc2b4d32e1c79346178f8b314e4ad7bba48c6ad28e536f87cde82533f
|
Provenance
The following attestation bundles were made for hdrbg-1.1.0.tar.gz:
Publisher:
python-publish.yml on sebastien-riou/hash-drbg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hdrbg-1.1.0.tar.gz -
Subject digest:
b30eddf37594e59542d9e2ba6ccccc227bb973c7057837e6d78e301f39dc16ed - Sigstore transparency entry: 2341268233
- Sigstore integration time:
-
Permalink:
sebastien-riou/hash-drbg@6a7cec808870ef5587b42ab02218816fecba7219 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/sebastien-riou
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6a7cec808870ef5587b42ab02218816fecba7219 -
Trigger Event:
release
-
Statement type:
File details
Details for the file hdrbg-1.1.0-py3-none-any.whl.
File metadata
- Download URL: hdrbg-1.1.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18a8e8d2113175180c081a4151f9c5c50cb5885af97a2a9cdbff1348406250ee
|
|
| MD5 |
15cab8a5cfb8098d275406a95335cdab
|
|
| BLAKE2b-256 |
5260e96182b29a75f4f51b0d6c9de625f9dd98daab1c83aafebf02239796c55a
|
Provenance
The following attestation bundles were made for hdrbg-1.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on sebastien-riou/hash-drbg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hdrbg-1.1.0-py3-none-any.whl -
Subject digest:
18a8e8d2113175180c081a4151f9c5c50cb5885af97a2a9cdbff1348406250ee - Sigstore transparency entry: 2341268239
- Sigstore integration time:
-
Permalink:
sebastien-riou/hash-drbg@6a7cec808870ef5587b42ab02218816fecba7219 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/sebastien-riou
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6a7cec808870ef5587b42ab02218816fecba7219 -
Trigger Event:
release
-
Statement type: