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.7.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.7-cp312-cp312-manylinux1_x86_64.whl (436.7 kB view details)

Uploaded CPython 3.12

sha256sr-0.1.7-cp311-cp311-manylinux1_x86_64.whl (434.3 kB view details)

Uploaded CPython 3.11

sha256sr-0.1.7-cp310-cp310-manylinux1_x86_64.whl (431.9 kB view details)

Uploaded CPython 3.10

sha256sr-0.1.7-cp39-cp39-manylinux1_x86_64.whl (431.8 kB view details)

Uploaded CPython 3.9

sha256sr-0.1.7-cp38-cp38-manylinux1_x86_64.whl (427.8 kB view details)

Uploaded CPython 3.8

sha256sr-0.1.7-cp37-cp37m-manylinux1_x86_64.whl (389.4 kB view details)

Uploaded CPython 3.7m

sha256sr-0.1.7-cp37-cp37m-macosx_10_13_x86_64.whl (93.3 kB view details)

Uploaded CPython 3.7mmacOS 10.13+ x86-64

sha256sr-0.1.7-cp36-cp36m-manylinux1_x86_64.whl (389.0 kB view details)

Uploaded CPython 3.6m

sha256sr-0.1.7-cp36-cp36m-macosx_10_13_x86_64.whl (93.3 kB view details)

Uploaded CPython 3.6mmacOS 10.13+ x86-64

sha256sr-0.1.7-cp35-cp35m-manylinux1_x86_64.whl (388.9 kB view details)

Uploaded CPython 3.5m

sha256sr-0.1.7-cp35-cp35m-macosx_10_13_x86_64.whl (93.3 kB view details)

Uploaded CPython 3.5mmacOS 10.13+ x86-64

sha256sr-0.1.7-cp27-cp27mu-manylinux1_x86_64.whl (393.5 kB view details)

Uploaded CPython 2.7mu

sha256sr-0.1.7-cp27-cp27m-macosx_10_13_x86_64.whl (94.5 kB view details)

Uploaded CPython 2.7mmacOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: sha256sr-0.1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 4e17122558d89f9cbb6f0dcd81904209a90a8f0fdac8101d856b9695d597837a
MD5 e50882974b289e310f1de20930b50f34
BLAKE2b-256 4165677f8012cac679a36197526730b0163e9d8699ca529f0d02a27fa844509e

See more details on using hashes here.

File details

Details for the file sha256sr-0.1.7-cp312-cp312-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for sha256sr-0.1.7-cp312-cp312-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 031fca22b9675c5d5b21b4e6d06804a229659a24649206c11256d9970d051814
MD5 b0d4264d73783e70886e73a9960bcd32
BLAKE2b-256 8f5eeb885d4e7093a4c9de1235a85e52ce4fbfed5f32f05b4c29545d928b1125

See more details on using hashes here.

File details

Details for the file sha256sr-0.1.7-cp311-cp311-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for sha256sr-0.1.7-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1e70d2bf2c78dbccef0b8226bb3eff4e6d518c484be14a38c1909eed9f41ad73
MD5 e569a909248089769bd0e797f9c06075
BLAKE2b-256 2bdb8122ba71d535a001174b840d83c0e7061e3a48e6b2389b4314e2590ef0bf

See more details on using hashes here.

File details

Details for the file sha256sr-0.1.7-cp310-cp310-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for sha256sr-0.1.7-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e987ad5e58c2993a58db7a526c9fd527a162b373b0312bc5c01aefb12f560035
MD5 94c2fe9581cfeb75c445cab57db2a3ae
BLAKE2b-256 e633a7d8daaa1bb8c454ad9abe7318a52d3c4e9d274626dca4383ac778d1a8f7

See more details on using hashes here.

File details

Details for the file sha256sr-0.1.7-cp39-cp39-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for sha256sr-0.1.7-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7cd52d58f3809e4c68c076715c73774c765e22bcf24da995305a321cb069a555
MD5 79c818b1f8e3135ec67a7cebbcd9dfa9
BLAKE2b-256 ef5c018f47a967f7170ac62bdd1846f98c8b57d691395acc716482b51c6a86d0

See more details on using hashes here.

File details

Details for the file sha256sr-0.1.7-cp38-cp38-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for sha256sr-0.1.7-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7d1cfeb741f748228402e813a3bfae4fbc811e8e480ac381d39950b7c710b134
MD5 dd2574bd596f93daa1466fccb8e7ceea
BLAKE2b-256 c5751bea2caf4e4ca0996e4dac0669aaa2a0d165d405f41e1b101b8745ff2f03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.7-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b1348232c49cb23801dca81ed9382d7a9e3ddc411bd4e858b81d565d667f9259
MD5 7625f145517c2cc8c8eb0f2030902e10
BLAKE2b-256 d60bfe9b27bd220a02ba4754fdd8ced7495fdff4b06c7be3eb172b257d5ff8dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.7-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 0fc38e591a18c095da6ac9c7b3f0b80ff9e36e44ae555bd77e17cc47121ea9c4
MD5 6b67665681d7b7a24a7ec7b78d833b81
BLAKE2b-256 e965bd53a69030c3b72758ca8e35b537d0b10be9668cf9323873ab4a720ed53d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.7-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d7234eabce2ed4b7a82e4d4ff753d07b911982bdb993b9c871761fcacc0c2652
MD5 2989f620a94e24fd8988bd7adef03e94
BLAKE2b-256 31fd01903899b8975051fedef51b424459e5515cf3e383c06561e922b86e4843

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.7-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 e4764cfbacdbf2ac24164392d69bef8fbcb9ab37b42620281fa75d0cee14477a
MD5 33baa276be6d26e2c6c30f622d45e639
BLAKE2b-256 719e2b28e53a21c8f8e2404a35309196d3a48136ea6b2f0784418ca08a50a6bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.7-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 600c0d20b04c5b65649e60492aa8b15f300645fcb3e5584af512227d038c4632
MD5 64ac972f1b3a3a0d2fdb43d9b9b42df6
BLAKE2b-256 d47da42a85b86feb19875c61dd2c24fb3df8f1c5019aae851eb861f9db9c98a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.7-cp35-cp35m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a0f97517ea01cd01119e8290e3f482dd4482700a4a9262bcef844cab79f08e14
MD5 bc00d4c04ce07cd12d1cc934065a815a
BLAKE2b-256 1d8cd45dd363857048609ba7c1304f739451bc8fb7219578cc9ab008a6b1daeb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.7-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a1effe08eedffd54125f05744ae78f37eb8c0bd5de1a3b8e7cac116ef26e0e79
MD5 d9237a7e4398d51679a34bfee4501aa7
BLAKE2b-256 cfa9ae331d741bbadd2f1670b64138699147f16588a4aba4082f6ad7476b172d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.7-cp27-cp27m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 8d58e9e63f548a1f2f8580991a2c5f011e265008c6634d79fc6f42acbf801538
MD5 364163e0dcf7991917273e3708cb432a
BLAKE2b-256 44e8edcc77aaf9287ceecd532082350f4a615acf17e78d1698ead662d6b075fb

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