Skip to main content

Pseudorandom number generator and random sampling using cryptographic hash functions

Project description

# cryptorandom

[![PyPI](https://img.shields.io/pypi/v/cryptorandom.svg)](https://pypi-hypernode.com/project/cryptorandom/) [![Build Status](https://github.com/statlab/cryptorandom/workflows/test/badge.svg?branch=master)](https://github.com/statlab/cryptorandom/actions?query=workflow%3A%22test%22) [![Coverage Status](https://codecov.io/gh/statlab/cryptorandom/branch/master/graph/badge.svg)](https://app.codecov.io/gh/statlab/cryptorandom/branch/master)

Pseudorandom number generator and random sampling using cryptographic hash functions. The prototype generator is built on SHA-256.

## 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cryptorandom-0.3rc1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

cryptorandom-0.3rc1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file cryptorandom-0.3rc1.tar.gz.

File metadata

  • Download URL: cryptorandom-0.3rc1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.6

File hashes

Hashes for cryptorandom-0.3rc1.tar.gz
Algorithm Hash digest
SHA256 da49e10f65dbd180a59733156a36ad2afca4d4deaee80079abb9bdc00cfac04a
MD5 dbabd6b82682baeebf161df950ff1e0e
BLAKE2b-256 781a545cdb749955ef93ad5f07cc890f2cd5385d03fcd341a5dbf63224d2acca

See more details on using hashes here.

File details

Details for the file cryptorandom-0.3rc1-py3-none-any.whl.

File metadata

  • Download URL: cryptorandom-0.3rc1-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.6

File hashes

Hashes for cryptorandom-0.3rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 d05af0f673e63dac6311e765b5fa3f5dbc820220f6a21f6fc2717c7e1d2a26c3
MD5 fde4a57c1a495974b100900fc905e170
BLAKE2b-256 eade51b14d1cf91a643f6d3616afef355de1264273648027b158b593b83b5e6d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page