encbmp

A tool used to parse, encrypt and decrypt Bitmap file easily.


License
MIT
Install
pip install encbmp==0.0.7

Documentation

encbmp

Packagist PyPI version

A light, easy using tool to parse, encrypt and decrypt Bitmap file in AES.

Install

pip install encbmp

Usage

from encbmp import AES

bmp = AES.AES_bmp(img_path='bmp_target.bmp') # Load Bitmap file

bmp.show_header() # Show the Bitmap file Header information
bmp.show_div_header() # # Show the DIV Header information


bmp.encrypt(mode='CTR') # Choose a mode to encrypy,Support EBC,CBC,CFB,OFB,CTR.
bmp.show_enc()

bmp.decrypt()
bmp.show_dec()

Output