Skip to main content

A CLI tool to decode base-encoded strings.

Project description

Base Decryptor

A CLI tool to decode base-encoded strings.

Table of Contents

Features

  • Decode various base-encoded strings

  • Some of them are:

    • Base64
    • Base64 URL Safe
    • Base 16 (Hex)
    • Base 2 (Binary)
    • Base 8 (Octal)
    • Base 10 (Decimal)
    • Base32
    • Base36
    • Base45
    • Base58
    • Base62
    • Base85
    • Base91
    • Base92
    • Base100 (Emoji)
    • Base122
    • Base4096
    • UUEncode
  • CLI interface for ease of use.

  • Handles emoji in strings and decodes accordingly.

  • Displays decoded results in a user-friendly table format with color-coded output.

  • Error handling for decoding processes.

Installation

You can install the base-decryptor package via pip. Run the following command:

pip install base-decryptor

Usage

You can provide either a single encoded string or a file containing multiple encoded strings.

Command Line Options

base-decryptor [OPTIONS] [ENCODED_STRING]
Arguments
ENCODED_STRING: (Optional) A single base-encoded string that you want to decode.
Options
-f, --file <file>: Specify a file containing encoded strings. Each line in the file will be processed for decoding.

-a, --all: If this flag is set, the tool will attempt to decode the input using all supported encoding methods (Base36, Base45, Base58, Base91, Base92, Base100).

-q, --quiet: Suppress the ASCII banner and author message when running the tool.

Examples Decode a single encoded string:

base-decryptor "encoded_string_here"

Decode strings from a file:

base-decryptor --file encoded_strings.txt

Decode all encodings for a single string:

base-decryptor --all "encoded_string_here"

Decode all encodings from a file:

base-decryptor --file encoded_strings.txt --all

Run in quiet mode:

base-decryptor -q --file encoded_strings.txt

Help option

base-decryptor --help

Video

https://github.com/user-attachments/assets/1224e4a6-22a6-482d-b5e1-3ce367020847

Dependencies

The following packages are required:

base36==0.1.1
base4096==1.0
base45==0.4.4
base58==2.1.1
base91==1.0.1
base92==1.0.3
pybase100==0.3.1
click==8.1.7
colorama==0.4.6
emoji==2.14.0
pybase62==1.0.0
pycryptodome==3.20.0
pyfiglet==1.0.2
requests==2.32.3
rich==13.9.3
tabulate==0.9.0
yaspin==3.1.0

Contributing

Contributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request with your changes. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

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

base_decrypter-0.2.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

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

base_decrypter-0.2.0-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file base_decrypter-0.2.0.tar.gz.

File metadata

  • Download URL: base_decrypter-0.2.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for base_decrypter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1023a90a6e7ace97978c563c38470cba9bc1a2c51d79811cf69630df5b056198
MD5 ba7e9dc49aae4e594cd8379e4ce08a8a
BLAKE2b-256 87f6adab174da641042daa728a39871719bd5743cc5f497940929da4949f06a3

See more details on using hashes here.

File details

Details for the file base_decrypter-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: base_decrypter-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for base_decrypter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f93ba063d6e6673c858ec9e09a23ddd5622e37c8ac9bb33b5b2c0bdfdfac0aa8
MD5 8103c37fdd5d331856a7f05b28a605b1
BLAKE2b-256 386dffd4a2da38f789b2c90bbbaed6bf8520e82d34ada5574cf762a6939b81f5

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