pinlock-img

๐Ÿ–ผ๏ธ pinlock-img v9

Authenticated PNG Image Vault

Secure โ€ข Deterministic โ€ข Authenticated Image Protection


๐Ÿ“Œ Overview

pinlock-img is a password-based image protection tool for PNG files.

It ensures:


๐Ÿ” Core Design

๐Ÿ”‘ Key Derivation


๐Ÿง  Dual-Key Architecture


๐Ÿ›ก๏ธ Authenticated Encryption

Encrypt-then-MAC design:

Decryption only proceeds after successful verification.


โš™๏ธ How It Works

Encryption

  1. XOR transform applied
  2. HMAC generated
  3. Tag embedded in PNG
  4. .lock suffix added

Decryption

  1. Extract HMAC
  2. Verify integrity
  3. If valid โ†’ decrypt
  4. If invalid โ†’ abort safely

๐Ÿš€ Features


๐Ÿ“ฆ Installation

Requires Python 3.8+

pip install numpy Pillow

๐Ÿ“– Usage

python pinlock-img.py /path/to/file_or_directory

Dry Run

python pinlock-img.py /path/to/files

Then:

Dry Run? (y/n): y

โš ๏ธ Security Notes

However:


๐Ÿ“œ License

MIT License ยฉ 2026 Fox Hackerz


๐ŸฆŠ About Fox Hackerz

We build tools focused on:

๐Ÿ“Œ GitHub: https://github.com/foxhackerzdevs


๐ŸฆŠ Join the pack. Build. Break. Secure.