Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 625 Bytes

File metadata and controls

27 lines (26 loc) · 625 Bytes

b64enc

a python utility for encoding, compressing, and encrypting files into Base64 strings.

Features

  • AES-256-CBC Encryption
  • Zlib Compression

Requirements

pip install pycryptodome

Usage

Encrypt a file:

python3 -m b64enc <input_file> -e <password> -o <output_file>

Compress and encode a file (no encryption):

python3 -m b64enc <input_file> -o <output_file>

Decompress and decrypt a file:

python3 -m decrypt <input_file> <output_file> -p <password>

Decompress a file (no encryption):

python3 -m decrypt <input_file> <output_file>