Pseudorandom number generator and random sampling using cryptographic hash functions
Project description
Pseudorandom number generator and random sampling using cryptographic hash functions. The prototype generator is built on SHA-256.
Bug reports: https://github.com/statlab/cryptorandom/issues
Installation from binaries
$ pip install cryptorandom
Installation from source
Install dependencies using:
$ pip install -r requirements.txt
Then, install cryptorandom using:
$ pip install .
If you plan to develop the package, you may run it directly from source:
$ pip install -e . # Do this once to add pkg to Python path
License information
See the file LICENSE for information on the history of this software, terms & conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.
Project details
Release history Release notifications | RSS feed
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 cryptorandom-0.4.tar.gz.
File metadata
- Download URL: cryptorandom-0.4.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a8bd9be8fdb5bcadb1a0e35a9dd42846618daa3d1c75c45ba15ec5fc325b0f6
|
|
| MD5 |
23006cadbc93c24b27114628a4a08b00
|
|
| BLAKE2b-256 |
61a6760c0c93f47141f17bed4f594dc27a7a503a9401d58d49169f0950352837
|
Provenance
The following attestation bundles were made for cryptorandom-0.4.tar.gz:
Publisher:
python-publish.yml on statlab/cryptorandom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cryptorandom-0.4.tar.gz -
Subject digest:
7a8bd9be8fdb5bcadb1a0e35a9dd42846618daa3d1c75c45ba15ec5fc325b0f6 - Sigstore transparency entry: 204410999
- Sigstore integration time:
-
Permalink:
statlab/cryptorandom@b9205816f007263ef937b372e47661a7823371f5 -
Branch / Tag:
refs/tags/cryptorandom-0.4 - Owner: https://github.com/statlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b9205816f007263ef937b372e47661a7823371f5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file cryptorandom-0.4-py3-none-any.whl.
File metadata
- Download URL: cryptorandom-0.4-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dd5bb74f7942fcf4265036853c2c2903b9403ecf0b67d916dba251da758526e
|
|
| MD5 |
1f00e33b9c864536595b9bef8bf43e31
|
|
| BLAKE2b-256 |
eb4eb6d5b38b90ae9311408c71436b4c6490daa5a98c51812d7317fa3df95433
|
Provenance
The following attestation bundles were made for cryptorandom-0.4-py3-none-any.whl:
Publisher:
python-publish.yml on statlab/cryptorandom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cryptorandom-0.4-py3-none-any.whl -
Subject digest:
1dd5bb74f7942fcf4265036853c2c2903b9403ecf0b67d916dba251da758526e - Sigstore transparency entry: 204411002
- Sigstore integration time:
-
Permalink:
statlab/cryptorandom@b9205816f007263ef937b372e47661a7823371f5 -
Branch / Tag:
refs/tags/cryptorandom-0.4 - Owner: https://github.com/statlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b9205816f007263ef937b372e47661a7823371f5 -
Trigger Event:
release
-
Statement type: