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

Uploaded CPython 3.11

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

Uploaded CPython 3.10

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

Uploaded CPython 3.9

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

Uploaded CPython 3.8

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.6m

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.9-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e9b066ed102ce1df41271ebf05ce07c56fff4f48b7e706341e579d79692fa893
MD5 01dedc7c0b4aedf8e7e9b3bac3c78e23
BLAKE2b-256 48d0df73aa6259081b7464147a92734199969a6a469ecf13352f6ce7df1c6359

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.9-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2ae9938e57a20ee3b60db52fabf0a8c1f46f646e3dbdeff6df3e8a14b184f153
MD5 43946d0b85faa3a140beed2562332087
BLAKE2b-256 e2bab3079fd883ccdd29466826197a4a6ea60597f8d1f3b781a6dccb25ae35db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.9-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 137e5b980fb385a2a54ddc0e837ba6882b39ac80b50c9747efc676387291cfb5
MD5 081570ce3db8fcba7af7cd1682e5caa1
BLAKE2b-256 17c8437b01a6b9928d28863d38eddf46356c5704b098b8f617f05659d0e81eb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.9-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 712084a37782dd475a63d9f9e98743b269d43ca4bba0185daca7b1d0de560f76
MD5 40cad5a8afeac1f09103b98562e7e529
BLAKE2b-256 62d077d9add4b86650a4c413609c356c4f3326963d2db41bbe74c7c0d47dc92f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sha256sr-0.1.9-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 aaf3418a62c2a2e329ced0284dbb907cd58df9e33b2a57ac8da4d7306e9deb0a
MD5 714b9a744fed59311607843cb11eeb99
BLAKE2b-256 70f8d85b1a6c208e40e78c55fef5eeb7a7ff46f7d9ff15d6d207dae48f185470

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sha256sr-0.1.9-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.9-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2859d9d783cdccf38415fbf593737bdb48476a428383776993a3c4ee1c4a6970
MD5 91c54181e93e71b91208c0371d079570
BLAKE2b-256 ae4624bb02edc6b78ca0f0bd49a69f1af891baf945db81eab205cb98307427ff

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