SecurePhotos
Gallery with encryption (Python desktop application)
Install / Use
/learn @annndruha/SecurePhotosREADME
<img src="https://raw.githubusercontent.com/Annndruha/SecurePhotos/main/src/img/icon.svg" width="32px"> SecurePhotos
SecurePhotos - Gallery for photos with encryption for your photos or any files. Also, it's faster than windows default gallery!
Screenshots:
Features
- Encrypt/Decrypt files and folders on disk
- Encrypted image preview without decrypt on disk
- Rotate and delete images
- Infinite photos zoom
Install and usage:
Pre-build exe for Windows:
- Go to release section
- Download
SecurePhotos.exefrom release assets
Manual run from sources:
Install Python and execute in terminal:
git clone https://github.com/annndruha/SecurePhotos
cd SecurePhotos
pip install -r requirements.txt
python -m src
Algorithm:
When you click Encrypt 🔒:
flowchart TD
PW("Password<br/>Not stored in RAM or anywhere") --> SHA[UTF-8 to SHA-256]
SHA --> HASH("Password HASH<br/>Stored in RAM (while open)")
DATA("Image/video file on disk<br/>(png | jpg | mp4 | mkv | etc.)") --> BYTES("Bytes")
BYTES --> PADDING["Padding up to block size 16 bytes"]
subgraph AES-256 [AES-256 with CBC]
HASH --> CHIPPER
PADDING --> CHIPPER("Ciphertext")
end
CHIPPER --> NEW_FILE("Encrypted image or folder on disk<br/>with ext (.aes/.aes_zip)")
NEW_FILE --> DELETE_FILE("Delete old file<br/>or folder")
style PW fill:#e6e6fa
style SHA fill:#e6e6fa
style DATA fill:#b3d9ff
style BYTES fill:#b3d9ff
style PADDING fill:#b3d9ff
style HASH fill:#e6e6fa
style CHIPPER fill:#fffc5e
style NEW_FILE fill:#ccffcc
style DELETE_FILE fill:#ffcccc
Contact
Feel free to report bugs and suggest improvements on annndruha.github@gmail.com
