Skip to main content

Powerful encryption library for securing Python data by Team PM

Project description

UltraCrypt Documentation

UltraCrypt is a custom Python encryption library designed to obfuscate and secure code/data through multiple complex and layered encryption techniques. This documentation outlines each function and its behavior.


Base64 Encoding

encode_base64(text)

  • Encodes input text using Base64.

decode_base64(encoded)

  • Decodes Base64-encoded text.

XOR Encryption

encrypt_xor(text, key)

  • Encrypts text using XOR with a given key.

decrypt_xor(cipher, key)

  • Decrypts XOR-encrypted text using the same key.

AES Encryption (CBC Mode)

encrypt_aes(text, key)

  • Encrypts the text using AES encryption in CBC mode.
  • Key is hashed using SHA-256.

decrypt_aes(enc_text, key)

  • Decrypts AES-encrypted text.

Reversed Text

encrypt_reverse(text)

  • Reverses the string.

decrypt_reverse(text)

  • Reverses the string back to original.

Caesar Cipher

caesar(text, shift)

  • Shifts characters in the alphabet by shift positions.

decaesar(text, shift)

  • Reverses the Caesar cipher shift.

ROT13

rot13(text)

  • Applies the ROT13 cipher, shifting letters 13 positions. Reversible.

Marshal + Zlib + Base64 + Hex Encoding

encrypt_layer1(code)

  • Compresses, marshals, encodes in Base64, then hex.

decrypt_layer1(data)

  • Decodes hex, Base64, unmarshal, decompress.

Zlib Compression

encrypt_zlib(text)

  • Compresses and encodes the text.

decrypt_zlib(encoded)

  • Decodes and decompresses the text.

Marshal Encoding

encrypt_marshal(code)

  • Marshals and Base64-encodes the code.

decrypt_marshal(data)

  • Decodes and unmarshals the code.

Pro Marshal Encoding (With Hash Check)

encrypt_marshal_pro(code)

  • Hashes, compresses, marshals, and encodes the code.

decrypt_marshal_pro(data)

  • Decodes, checks hash, decompresses, and unmarshals.

Substitution Cipher

encrypt_substitute(text)

  • Randomizes substitution key and applies it to text.

decrypt_substitute(ciphertext, key)

  • Reverses substitution cipher using provided key.

Block Encryption (Shuffled Blocks)

encrypt_blocks(text)

  • Splits text into blocks, shuffles with index.

decrypt_blocks(ciphertext)

  • Restores original text based on block index.

Dynamic XOR

encrypt_dynamic_key(text)

  • Generates key from MD5 of text and applies XOR.

decrypt_dynamic_key(ciphertext)

  • Decrypts using generated MD5-based key.

Advanced Multi-Layer Encryption

encrypt_advanced(text)

  • Compresses, Base64-encodes, reverses, then hex-encodes text.

decrypt_advanced(encrypted)

  • Reverses hex, un-reverses, decodes Base64, decompresses.

All-In-One Encryption

encrypt_all(text)

  • Splits input into chunks, adds checksum, applies XOR + Base64.

decrypt_all(data)

  • Verifies checksum, applies XOR, decodes Base64, recombines.

Summary

UltraCrypt provides powerful obfuscation techniques that make reverse engineering significantly more difficult. Each function can be used independently or combined to increase the complexity of protection.


For best results, use multiple layers of encryption for sensitive scripts or intellectual property.

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

pmteam-0.4.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file pmteam-0.4.tar.gz.

File metadata

  • Download URL: pmteam-0.4.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for pmteam-0.4.tar.gz
Algorithm Hash digest
SHA256 3049226b5c0f7dad4a1e36d225bd26b3a41d3f88f6a217099cce5a61ed72d998
MD5 7cda51287bbebf86151f2c9c8a5743e9
BLAKE2b-256 655362c7753717d302d64dcdd03b8de638083336bf8ee0a6f1f5202f42ee0c2b

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