Skip to main content

Stealthy text steganography and high-entropy secret generation.

Project description

Secretting 1.12.0

Stealthy text steganography and high-entropy secret generation.

Installation:

pip install secretting==1.12.0

If wont work:

pip3 install secretting==1.12.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 funcs.
# Returns 1 random of this list.
# It is more random than secrets.choice and random.choice.
# Secretting made by only this scheme.
# And yeah its made by me.
# You can copy this scheme.

Enjoy it!

hi

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.12.0.tar.gz (3.9 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.12.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for secretting-1.12.0.tar.gz
Algorithm Hash digest
SHA256 3a902c3b7ab13418b43bfee8ee0d867c55815d7ace058c48602c13f220082dd7
MD5 8752cbe3509a5d01a5e70337269a91ce
BLAKE2b-256 d9914b2ef8a9e7a002c49993195e72270b55e14a9c392d17268b402309bf52c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: secretting-1.12.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66a4f4a3ba284ee626cf90be71db07b3e5302824efd2d2e1b3603ffae291505e
MD5 608887ebd296b31b9aff4ab0f05d928f
BLAKE2b-256 17d44547113fb686d77315bc161ccac8704137f0ce048169e57c066b226bd221

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