More secrets and randoms!
Project description
Secreting 1.4.3
(before 1.4.4 it was secretting)
More secrets and randoms!
Installation:
pip install secreting
If wont work:
pip3 install secreting
Or:
pip install --upgrade secreting
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 (sha256, sha512)
Github
My github account
Enjoy it!
hi
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
secreting-1.4.3.tar.gz
(2.0 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 secreting-1.4.3.tar.gz.
File metadata
- Download URL: secreting-1.4.3.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
230abcbd6d2b28ba54f8a115134adab354efece20ca5225090b199268488052f
|
|
| MD5 |
a82f47d9bb372bec595a72942a3ed55a
|
|
| BLAKE2b-256 |
378b27ed73a80ac941861ef0a64934b6fc4278b656e9f69fa9150afa0ae5b6ba
|
File details
Details for the file secreting-1.4.3-py3-none-any.whl.
File metadata
- Download URL: secreting-1.4.3-py3-none-any.whl
- Upload date:
- Size: 2.4 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 |
7c687db7a196af21d0432b6ff81f7c158145c6b24d0e775dcf42497dd29e0e42
|
|
| MD5 |
f449faf418efa8649da1d33562777da0
|
|
| BLAKE2b-256 |
c2771221d2706d45b65961aa42513aa1b3baa2c21e04dc7bb8d202921fdf279b
|