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 Distribution

sha256sr-0.1.6.tar.gz (50.0 kB view details)

Uploaded Source

Built Distributions

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

sha256sr-0.1.6-cp37-cp37m-manylinux1_x86_64.whl (390.1 kB view details)

Uploaded CPython 3.7m

sha256sr-0.1.6-cp37-cp37m-macosx_10_13_x86_64.whl (93.7 kB view details)

Uploaded CPython 3.7mmacOS 10.13+ x86-64

sha256sr-0.1.6-cp36-cp36m-manylinux1_x86_64.whl (389.7 kB view details)

Uploaded CPython 3.6m

sha256sr-0.1.6-cp36-cp36m-macosx_10_13_x86_64.whl (93.5 kB view details)

Uploaded CPython 3.6mmacOS 10.13+ x86-64

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

Uploaded CPython 3.5m

sha256sr-0.1.6-cp35-cp35m-macosx_10_13_x86_64.whl (93.5 kB view details)

Uploaded CPython 3.5mmacOS 10.13+ x86-64

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

Uploaded CPython 2.7mu

sha256sr-0.1.6-cp27-cp27m-macosx_10_13_x86_64.whl (94.4 kB view details)

Uploaded CPython 2.7mmacOS 10.13+ x86-64

File details

Details for the file sha256sr-0.1.6.tar.gz.

File metadata

  • Download URL: sha256sr-0.1.6.tar.gz
  • Upload date:
  • Size: 50.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for sha256sr-0.1.6.tar.gz
Algorithm Hash digest
SHA256 344cd5c377f16cf96b5d243bce8966f2ecb32a43da58b8872b6c6d58725aa35c
MD5 9bb95cd4153477a9cb25938f27cd9072
BLAKE2b-256 72311f6549fffbe32c5e00dc4ee3a42311f8fa1b594fc85da477961ce2a229bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.6-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b051b3ea988ea00177c6e2cb74542945bbe1b5c3da966f781902561361274da0
MD5 68f28a6becc5cbb8a829485943ea42ea
BLAKE2b-256 0bff21a3b13f90eb6944f8b0cb288cbf37c4f38b8ab02b14a5fe823a0448f19c

See more details on using hashes here.

File details

Details for the file sha256sr-0.1.6-cp37-cp37m-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for sha256sr-0.1.6-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ee97f657df5d6ee9b1aea194945569285a58bf69c5777dc8816c85a9d3caf4c2
MD5 5b09290fda0a8f4f2fea9e492ca42bde
BLAKE2b-256 386920856a886a27de93c1e5cc6a64118e568e3e09cfaa38f3ee5dfd29b2e3a5

See more details on using hashes here.

File details

Details for the file sha256sr-0.1.6-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for sha256sr-0.1.6-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a9b0552bd5528463129f87e52d4664d5678294b3a3dbc8fab58ad4f7da43c0cb
MD5 7f7372ec8f8b3683dd69b848b365b0cb
BLAKE2b-256 984e23da00a31ebd56a3ee192680969b1324d9f961eb14826852ab3ba1142f96

See more details on using hashes here.

File details

Details for the file sha256sr-0.1.6-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for sha256sr-0.1.6-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 c825ca36def02590b49365bde595784a3cb3df61e26588c4b1b3ee094f2e2073
MD5 c2b4a2bcd17317e277eacc33037f48fa
BLAKE2b-256 82f8aa1a3373837a4d9957e4670dc3c8982910d1ce8682349e2d62dbaf92d7f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.6-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6dfd8846706d97e03b8f755932b3d79c80059c5f76129674b66fdc638e481284
MD5 ab2c3c938e702b8fd6592e2e584b28ec
BLAKE2b-256 88fb81dbe2359ce7abcc8c3a5463a454304c4b63ff87cc88cb91c88f4f4c9973

See more details on using hashes here.

File details

Details for the file sha256sr-0.1.6-cp35-cp35m-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for sha256sr-0.1.6-cp35-cp35m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ac18016033f3f7efb21d17cf4fd4cde96ab1d70df03f88553f5d17638a4d8b0e
MD5 36ea844961607e41d81727ae7ab3666f
BLAKE2b-256 ace75f3a7459acb8eca18a8e430f989d11bd4420f4fdc48220c7bf0e2e098edb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.6-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4503acf5b00ccbe398765ec1c966564f57f50ed508e9b6371401e540a02db8b7
MD5 1b8a9250a67ec562f42dc886a5fa3666
BLAKE2b-256 eef7958b429db17e783cd07afaf71ef4b7c3df782ae2ef869a345bda01a47099

See more details on using hashes here.

File details

Details for the file sha256sr-0.1.6-cp27-cp27m-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for sha256sr-0.1.6-cp27-cp27m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 4a89c6f008ce020eb28baac7032cf44a0404b2be3d39d3510dfb8772983d94dd
MD5 36aaf2adc79abca95f8688188f65f653
BLAKE2b-256 4c5d931dd9dffb9c90a7278c1cea55e855478792c216083998bff32e64ae48c2

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