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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fc16603c46557dd2802ec3e27f4190b2d48e25cfa6388fb38f553c986b737e0
|
|
| MD5 |
59313fbf2f56ea5d771835b496e15d91
|
|
| BLAKE2b-256 |
ecc5601e4fdfc2910d2403ee5f1ab3c6cb8d56f7247640e2b2338d11f4aa9726
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc9bed95884ab7463f51d8f283d9160dec69850abf36333df544519e40e86957
|
|
| MD5 |
6f1d54ed3015cfdab92700e7677698fb
|
|
| BLAKE2b-256 |
52ffd44ed7a62b3e274bf272dfe02449cad67515fc87855e571cef4ec6a6c5be
|