Stealthy text steganography and high-entropy secret generation.
Project description
Secretting 1.15.0
Stealthy text steganography and high-entropy secret generation.
Installation:
pip install secretting==1.15.0
If wont work:
pip3 install secretting==1.15.0
Example:
from secretting import *
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)
GetPass (getpass)
Typing (any)
Github
My github account
Random scheme
Secretting uses Chaos 20 system
How it works:
import secrets
def x_or_o():
return secrets.choice(["x", "o"])
def chaos20system(func, *args, **kwargs):
return secrets.choice([func(*args, **kwargs) for _ in range(20)])
# This is list of 20 functions runs.
# Chaos 20 System returns 1 random of this list.
# It is more random than secrets.choice and random.choice.
# Secretting made by this scheme only.
# And yeah its made by me.
# You can copy this scheme.
Changelog
[1.15.0]
Added
- Functions: Added
pwdStrengthto__init__.py. - More libs: Added
constants,exceptions. - Constants and Exceptions
Changed
__version__was replaced inconstants.VERSION__author__was replaced inconstants.AUTHOR
Enjoy it!
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.15.0.tar.gz
(5.5 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.15.0.tar.gz.
File metadata
- Download URL: secretting-1.15.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff5ba28d888c0496eb90367dfa0edeac7d3a7e2de33841d7567f0000f36a48ac
|
|
| MD5 |
7f779e1204632f5b99ada919f727cf15
|
|
| BLAKE2b-256 |
1488671fbd2a5e1f5c4ecc1c9fb7e89d60f3583669739ecc0cff9e583b6eab2a
|
File details
Details for the file secretting-1.15.0-py3-none-any.whl.
File metadata
- Download URL: secretting-1.15.0-py3-none-any.whl
- Upload date:
- Size: 6.9 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 |
097f8d3081da4a40cb699dc4325702fd3925bbd28d92ba6cdf6deabc203249bd
|
|
| MD5 |
95efe18bab52be720d1c6f1769829f4a
|
|
| BLAKE2b-256 |
18edb1d258b9f404f4c0533403f8654f0eed9a9218dc94fec3f6cfb3d788ee8c
|