Skip to main content

Stealthy text steganography and high-entropy secret generation.

Project description

Secretting 1.16.1

Stealthy text steganography and high-entropy secret generation.

Installation:

pip install secretting==1.16.1

If wont work:

pip3 install secretting==1.16.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.16.1]

Added

  • Randbytes func: randbytes(nbytes) was finally added!

Fixed

  • Optimization: Code is more optimizated now.
  • CLI: CLI or __main__.py error was finally fixed.

Enjoy it!

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

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.16.1.tar.gz (5.6 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.16.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for secretting-1.16.1.tar.gz
Algorithm Hash digest
SHA256 36e9f696d74cdcf71d0460fdf54f9fe0cd4f424d916d151a0e741247a8b26609
MD5 85bd4ad6eda612e283aff6e034f2a152
BLAKE2b-256 18afce319ac1dcb7af5b4cc217e1d0d84d6e428e302b1cecf841d0f801cec16b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: secretting-1.16.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 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.16.1-py3-none-any.whl
Algorithm Hash digest
SHA256 132ffee24d32c56343b8e159bf92125c958939ceaff6e0730ae365df7d1bf760
MD5 3a5fe31f4dc08ebebf9c02fb95992130
BLAKE2b-256 809bbf86084b05a2c9cf7e1a30fb313f2b52b14033d5dc2f0f71c12def7548b7

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