dec64 is a Python library that allows you to recursively decode Base64 encoded strings. It's designed to be simple to use and integrate into your projects.
You can install dec64 using pip:
pip install dec64
Here's a basic example of how to use dec64:
In command line:
dec64 -t "SGVsbG8sIHdvcmxkIGZyb20gZGVjNjQh"
In code:
from dec64 import Base64Decoder
decoder = Base64Decoder()
encoded_string = "SGVsbG8sIHdvcmxkIGZyb20gZGVjNjQh"
decoded_string = decoder.decode(encoded_string)
print(decoded_string)
- Recursively decode Base64 strings
- Handle errors gracefully
- Support for reading from files
- Python 3.6+
This project is licensed under the MIT License.
GitHub Repository | Website | PyPi
Contributions are welcome! Please feel free to submit a Pull Request.