Skip to main content

More secrets and randoms!

Project description

More secrets and randoms!

Installation:

pip install secretting

If wont work:

pip3 install secretting

Or:

pip install --upgrade secretting

Example:

salt() # Output: salt
sha256("a") # Output: hash
secure256("a") # Output: (hash, salt)
isEqual(1, 1) # Output: True
isEqual(1, 2) # Output: False
chars # Output: (ascii_letters, digits, punctuation)
tokenHex(32) # Output: token with 32 bytes
# And more nice tools!

Libs:

Secrets (choice, compare_digest)

Random (shuffle, random, randint)

String (ascii_letters, digits, punctuation)

Hashlib

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

secretting-1.4.1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

secretting-1.4.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file secretting-1.4.1.tar.gz.

File metadata

  • Download URL: secretting-1.4.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for secretting-1.4.1.tar.gz
Algorithm Hash digest
SHA256 9fc16603c46557dd2802ec3e27f4190b2d48e25cfa6388fb38f553c986b737e0
MD5 59313fbf2f56ea5d771835b496e15d91
BLAKE2b-256 ecc5601e4fdfc2910d2403ee5f1ab3c6cb8d56f7247640e2b2338d11f4aa9726

See more details on using hashes here.

File details

Details for the file secretting-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: secretting-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for secretting-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc9bed95884ab7463f51d8f283d9160dec69850abf36333df544519e40e86957
MD5 6f1d54ed3015cfdab92700e7677698fb
BLAKE2b-256 52ffd44ed7a62b3e274bf272dfe02449cad67515fc87855e571cef4ec6a6c5be

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