Skip to main content

Stealthy text steganography and high-entropy secret generation.

Project description

Secretting 1.17.1

Stealthy text steganography and high-entropy secret generation.

Installation:

pip install secretting==1.17.1

If wont work:

pip3 install secretting==1.17.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.17.1]

Changed

  • Desc: Description was changed

Enjoy it!

PyPI - Version PyPI - Downloads PyPI - License PyPi - Badge PyPi - Status PyPi - Format PyPi - PyVersions PyPi - Author PyPi - Thanks PyPI Downloads

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.17.1.tar.gz (5.7 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.17.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for secretting-1.17.1.tar.gz
Algorithm Hash digest
SHA256 139547f7dbc86cf2c74aa5be6b1849beebfff2a4b626e287f46d73f21202635a
MD5 6abc3253cda70365176b435975725926
BLAKE2b-256 7db463b53d6c1cf344282035c69400e9bf2c9e07be6366d2458a331be780dfbb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: secretting-1.17.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.17.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a866ad47a049c9966acef0342c5f437ad774d94e013df4f2d48cec55842f31ba
MD5 5570c888918a775541516235b9a1c9ad
BLAKE2b-256 d568c81e35333b40d4840b3abf2dca1930483f860b6f22f56922901c3d1de8ee

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