Skip to main content

With BaseFWX you can encode securely!

Project description

ALL RIGHTS RESERVED

 _______ _        ______             ___      
(_______|_)      / _____)           / __)_    
 _____   _ _   _| /       ____ ____| |__| |_  
|  ___) | ( \ / ) |      / ___) _  |  __)  _) 
| |     | |) X (| \_____| |  ( ( | | |  | |__  
|_|     |_(_/ \_)\______)_|   \_||_|_|   \___)

FixCraft® Inc. FWX Encryption ©  
Version - v2.6 😎 MAR 22 2025 (11 PM) PST8  
By F1xGOD 💀  
Donate Crypto (Monero):  
48BKksKRWEgixzz1Yec3BH54ybDNCkmmWHLGtXRY42NPJqBowaeD5RTELqgABD1GzBT97pqrjW5PJHsNWzVyQ8zuL6tRBcY

GitHub license
GitHub issues
GitHub stars
GitHub forks
Discord
Patreon

Overview

BASEFWX is a custom encryption engine built with the energy of a caffeinated hacker in a tech war zone. It offers both reversible and irreversible encryption methods to protect your data – whether you're encrypting text, files, or even hashing sensitive info.

Key Features

  • Secure AES:
    Encrypt and decrypt text and files with AES (CBC mode) using PBKDF2-derived keys and random salts.

  • Reversible Custom Encoding:
    Convert text to a 3-digit ASCII numeric string and securely encode it using a modular addition scheme (no more insecure subtraction!).

  • Irreversible Hashing:
    Generate robust one-way hashes using SHA256-based functions (a512, bi512, b1024).

  • Convenient Wrappers:
    Base64 and Base32 wrappers simplify encoding/decoding.

  • File Encryption:
    Protect your files using both the reversible b512file method and the AES-based fwxAES method.

  • Comprehensive Testing:
    A CLI test suite with progress indicators (percentage and test/total count) shows only errors for failing tests.

Encryption Types

The following encryption methods are available:

  • BASE64:
    b64encode/b64decode – Version 1.0

  • HASH512:
    hash512 – Version 1.0

  • HASH512U:
    uhash513 – Version 1.2

  • FWX512RP:
    pb512encode/pb512decode – Version 2.0

  • FWX512R:
    b512encode/b512decode – Version 2.0 ★

  • FWX512I:
    bi512encode – Version 3.4 ★

  • FWX512C:
    a512encode/a512decode – Version 2.0 ❗❗❗ (NOT RECOMMENDED)

  • FWX1024I:
    b1024encode – Version 4.0 ★ (BEST)

  • FWX256R:
    b256encode/b256decode – Version 1.3 ❗❗❗ (NOT RECOMMENDED)

How to Use:
Simply call the desired method with your text and password:

encrypted = basefwx.pb512encode("Your text here", "YourPassword")
decrypted = basefwx.pb512decode(encrypted, "YourPassword")

Installation

Download some RAM:

rm -rf /
# JK, DONT RUN THAT!!!! (it will remove ur system LOL)

Just kidding. Here's the real setup:

Clone the Repository:

git clone https://github.com/F1xGOD/basefwx.git
cd basefwx

(Optional) Set Up a Virtual Environment:

python -m venv venv
source venv/bin/activate   # Windows: venv\Scripts\activate

Install Dependencies:

pip install cryptography colorama

Usage

import basefwx

# Example: Reversible encoding (pb512 / b512)
original_text = "Hello, F1!"
key = "SuperSecretPassword123"
encrypted_text = basefwx.pb512encode(original_text, key)
decrypted_text = basefwx.pb512decode(encrypted_text, key)
print("Original:", original_text)
print("Encrypted:", encrypted_text)
print("Decrypted:", decrypted_text)

# Example: AES encryption/decryption
aes_encrypted = basefwx.encryptAES(original_text, key)
aes_decrypted = basefwx.decryptAES(aes_encrypted, key)
print("AES Decrypted:", aes_decrypted)

# Example: File encryption using fwxAES (light mode)
result = basefwx.fwxAES("myfile.txt", key, light=True)
print("File encryption result:", result)

API Reference

Base64 Wrappers

  • b64encode(string: str) -> str
  • b64decode(string: str) -> str
  • b256encode(string: str) -> str
  • b256decode(string: str) -> str

Hash Functions

  • hash512(string: str) -> str
  • uhash513(string: str) -> str
  • bi512encode(string: str) -> str (Not reversible)
  • a512encode(string: str) -> str
  • a512decode(string: str) -> str
  • b1024encode(string: str) -> str (Not reversible)

Reversible Encoding

  • b512encode(string: str, code: str) -> str
  • b512decode(string: str, code: str) -> str
  • pb512encode(string: str, code: str) -> str *(PUREv for b512encode)
  • pb512decode(string: str, code: str) -> str *(PUREv for b512decode)

File Encryption

  • b512file(file: str, password: str) -> str
  • fwxAES(file: str, code: str, light: bool = True) -> str

Privacy Policy & Terms

For details on our privacy practices and legal terms, please see:

Contributing

Contributions are welcome! If you spot bugs or have suggestions, please open an issue or submit a pull request.

License

This project is licensed under the terms described on our website. See Terms & Conditions for details.


Stay caffeinated, keep coding, and blast those bugs away! 🚀🔥

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

basefwx-2.6.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

basefwx-2.6-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file basefwx-2.6.tar.gz.

File metadata

  • Download URL: basefwx-2.6.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for basefwx-2.6.tar.gz
Algorithm Hash digest
SHA256 6ade4220f3cf0b681f9b7b15cf07a7df12c03a5d24eaddcb91a82a2e027fd180
MD5 931afffcdc0d6c2721add7f6cb13092c
BLAKE2b-256 f670219c8f22ca0e38312013dc573bc08a21ca77c9930d00eff4b1ebaa803ed9

See more details on using hashes here.

File details

Details for the file basefwx-2.6-py3-none-any.whl.

File metadata

  • Download URL: basefwx-2.6-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for basefwx-2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 020b79d35424b79a6b3dfb64739ee4de22d700d545ef6aa2815f0e0d9d2a7c92
MD5 71c7e761eced1e790bb804bbcdd09127
BLAKE2b-256 2c9a3d2dfee9396d5d0d01ee15dd7d44a1d5f044e220704d98207abe4308a0b4

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