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.8-cp311-cp311-manylinux1_x86_64.whl (435.3 kB view details)

Uploaded CPython 3.11

sha256sr-0.1.8-cp310-cp310-manylinux1_x86_64.whl (433.8 kB view details)

Uploaded CPython 3.10

sha256sr-0.1.8-cp39-cp39-manylinux1_x86_64.whl (433.7 kB view details)

Uploaded CPython 3.9

sha256sr-0.1.8-cp38-cp38-manylinux1_x86_64.whl (431.4 kB view details)

Uploaded CPython 3.8

sha256sr-0.1.8-cp37-cp37m-manylinux1_x86_64.whl (431.6 kB view details)

Uploaded CPython 3.7m

sha256sr-0.1.8-cp36-cp36m-manylinux1_x86_64.whl (430.6 kB view details)

Uploaded CPython 3.6m

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.8-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1e8b9f9b605a18153dd3bd997856feb2c8f7d239e6b793274c0651c922ee9f9a
MD5 77004485b8698a7ae21c08a2add8b829
BLAKE2b-256 d2101333c19f7e298e2532bfead7872295231feb2b613f6ffde34be5550e602e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.8-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6b3123919350b21a1721021b93de1105e346675dbd937ccea85b83f1048163e3
MD5 45a8b032cde8e7de12af3aa94085ed0c
BLAKE2b-256 9dde8fe27a583878bbcb69eda05e624db9f0540a8fdfb92d2a8582898f1217de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.8-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0726c14750440efd266b48d0e0a37d10372b271d9f4f721347db08b050a1e74d
MD5 600d2034613ae2bcce054c2d2d47d382
BLAKE2b-256 0052e84269076c2b427365e12cb6caea68b34439da06b3f25a480114e6bb9b0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.8-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8495b01807d3528b8638fffac3c7e14549a7e259edb555b07d60f40c3cea1fec
MD5 619158b8587ada942724d1f6f02bcc48
BLAKE2b-256 0522b8c19b67662347847220473446d3b07c8fad452c18d706ad07f97727834f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.8-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bf85702d6b47207ca005681920ee2f8ffcab22ba205a77d88fe0f1cc480cd061
MD5 a21ed4cee39e2a64821db8ba6588d900
BLAKE2b-256 4472af7b7392775ffc3b191436a00407cbb7d2d8db37207f2e17c06b48a726b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sha256sr-0.1.8-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 430.6 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.12

File hashes

Hashes for sha256sr-0.1.8-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0ffa0acafd982cefd0fa72584f83a01b063728fdf283a09a434792974a931773
MD5 6f9df4aa4733127374ff40cb5be3263d
BLAKE2b-256 c98914ae1ebce3ef80e1dc647dccf347ee710c46f20d724d4dbcebe1d5c6cb3d

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