Skip to content

cnsuhao/SecurePhotoViewer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SecurePhotoViewer

View encrypted archive of photo

This is for personal use but I thought to make the code public for anyone who is interested.

Introduction

This is a quick image viewing tool based on SFML that allows you to view images from secure archive that was encrypted using AES

The contents of archive is expected to be in following format

<IV>:<Base-64 of Encrypted Zip File>

Build

Prerequisites:

Once you have above libraries properly installed, simply run make command to build binary.

Usage

In order to run program you will need to provide AES key in first param and archive name in second, e.g,

   ./secure-photo-viewer ARCHIVE KEY <INITIAL_IMAGE>

To open sample archive

 ./secure-photo-viewer sample-archive.archive `cat sample-key`

Keyboard

  • Right Arrow: Next photo / Re-position when zoomed
  • Left Arrow: Prev photo / Re-position when zoomed
  • Up Arrow: Re-position when zoomed
  • Down Arrow: Re-position when zoomed
  • Equal: Zoom In
  • Backspace: Zoom Out
  • Backslash (\): Reset (zoom, position and rotation)
  • F Key: Enter/exit Fullscreen
  • Escape: Exit

About

Simple photo viewer for encrypted archive of photos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.0%
  • Makefile 1.0%