Stealthy text steganography and high-entropy secret generation.
Project description
Secretting 1.18.1
Stealthy text steganography and high-entropy secret generation.
Installation:
pip install secretting==1.18.1
If wont work:
pip3 install secretting==1.18.1
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.18.1]
Removed
- All functions that wasn't working was removed.
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.18.1.tar.gz
(5.2 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.18.1.tar.gz.
File metadata
- Download URL: secretting-1.18.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e7e328556b9c242a18c32a9205753f354cf10f384fc934d5f347ca529fcc7b6
|
|
| MD5 |
1c692a6ea76ffb2416bf94a247a33b02
|
|
| BLAKE2b-256 |
2047914257d38576b61235b53fb1ac9c6319db62d075f2f33b1d2efb6f93e51c
|
File details
Details for the file secretting-1.18.1-py3-none-any.whl.
File metadata
- Download URL: secretting-1.18.1-py3-none-any.whl
- Upload date:
- Size: 6.5 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 |
125329589718df30c4bd9ad89d25d73320c31b7e7cb2bd88d883ea191e38021a
|
|
| MD5 |
b77f8b742ddc7eb9edfd6b000bef39bc
|
|
| BLAKE2b-256 |
c79de3773406c86a766822390b38c3c96882a7039bfd71d7cb8ddf8df0556ead
|