Skip to main content

the secure random generator based on SHA256

Project description

Overview

The implementation of secure random generator based on SHA256.

Build

sh build.sh

Use Guide

from sha256sr.secure_random import SecureRandom
seed = "this is an example of secure random generator based on sha256"
sr = SecureRandom(seed.encode())
gaussian = sr.next_gaussian()
rand_d = sr.next_float64()

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sha256sr-0.1.5-cp37-cp37m-manylinux1_x86_64.whl (231.6 kB view details)

Uploaded CPython 3.7m

sha256sr-0.1.5-cp35-cp35m-manylinux1_x86_64.whl (389.5 kB view details)

Uploaded CPython 3.5m

sha256sr-0.1.5-cp27-cp27mu-manylinux1_x86_64.whl (394.2 kB view details)

Uploaded CPython 2.7mu

File details

Details for the file sha256sr-0.1.5-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for sha256sr-0.1.5-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 405d0f7cc67688369f34bd6028e5667a200c0267192ec9cdb579f71d75ab89cd
MD5 0219c320ff026c964558ea3da8c35c5b
BLAKE2b-256 be32e16d94b0f8d2ff75161448f894503f6a290160976fc91806a9d26df526ef

See more details on using hashes here.

File details

Details for the file sha256sr-0.1.5-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for sha256sr-0.1.5-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 759003c4fa791047f39403f720f6f926962c2a16b9c051fc9d5e59f80960e8b1
MD5 ac038f863ff325738029e1b72311fc8c
BLAKE2b-256 c3cfbdb7f30fef550802e6974469497c647fb8e99d22b34057d44ee266ad8cd4

See more details on using hashes here.

File details

Details for the file sha256sr-0.1.5-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for sha256sr-0.1.5-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2ae7af4d77f9399729217d13e129f93c36df51dc0915ef5abd4199d2c4952f46
MD5 80bdc56d3a07e76be846534e05a2dcf3
BLAKE2b-256 526842a0ce8e08b933d00eefd34fa08bc6880d8991aabd47d710f8a8eb278852

See more details on using hashes here.

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