Skip to main content

Stealthy text steganography and high-entropy secret generation.

Project description

Secretting 1.18.0

Stealthy text steganography and high-entropy secret generation.

Installation:

pip install secretting==1.18.0

If wont work:

pip3 install secretting==1.18.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.18.0]

Changed

  • salt() and password() was replaces by randstr()

Removed

  • tempVar() was removed.

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.18.0.tar.gz (5.4 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.18.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for secretting-1.18.0.tar.gz
Algorithm Hash digest
SHA256 57c4e0dd5e1b99c1ce47790810d1dfef9ed28ce1b9b5b9f7f5e78a73f0c8e283
MD5 7219d32bf98a500c1d0677e78b1969be
BLAKE2b-256 1086c42164628c3a6a13d48b9ed60035b77a431cbac9f487d151e49983102c15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: secretting-1.18.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 646ef3ed5433321f94def7f8e4b89f9c8c2e5ebace6426b9c9ff85479273148e
MD5 be4d5e711199053bb6b4f75a404f07cb
BLAKE2b-256 62d6e65655db772185ae3b366302d7fb93fa6d6256d7ffb02ba010df8abc0816

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