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.
Metadata
Release files for cryptorandom 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cryptorandom-0.4.tar.gz | 13.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cryptorandom-0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.9 kB
Release files / cryptorandom-0.4.tar.gz
| Download URL | cryptorandom-0.4.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a8bd9be8fdb5bcadb1a0e35a9dd42846618daa3d1c75c45ba15ec5fc325b0f6
|
|
BLAKE2b-256 checksum How to use checksums |
61a6760c0c93f47141f17bed4f594dc27a7a503a9401d58d49169f0950352837
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 29, 2025.
Transparency logRelease files / cryptorandom-0.4-py3-none-any.whl
| Download URL | cryptorandom-0.4-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1dd5bb74f7942fcf4265036853c2c2903b9403ecf0b67d916dba251da758526e
|
|
BLAKE2b-256 checksum How to use checksums |
eb4eb6d5b38b90ae9311408c71436b4c6490daa5a98c51812d7317fa3df95433
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 29, 2025.
Transparency log