Skip to content

snp-labs/AuthCropper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AuthCropper

As surveillance systems are popular, the privacy of the recorded video becomes more important. On the other hand, the authenticity of video images should be guaranteed when used as evidence in court. It is challenging to satisfy both (personal) privacy and authenticity of a video simultaneously, since the privacy requires modifications (e.g.,partial deletions) of an original video image while the authenticity does not allow any modifications of the original image. This project proposes a novel method to convert an encryption scheme to support partial decryption with a constant number of keys and construct a privacy-aware authentication scheme by combining with a signature scheme.


Getting Started

These instructions will get you a copy of the project up and running in your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


Prerequisites

The PBC library needs the GMP library. This build system has been tested and works on Linux and Mac OS X with a fink installation

$ ./configure
$ make
$ make install

On windows, the configure command requires a couple of options :

$ ./configure -disable-static -enable-shared

By default the library is installed in /usr/local/lib . On some systems, this may not be in the library path. One way to fix this is to edit /etc/ld.so.conf and run ldconfig .


Deployment

  1. Add an image in src folder
  2. Open main.cpp and set an image name
  1. Set an image name
$ src = imread([image_file], cv::ImreadModes::IMREAD_GRAYSCALE);
  1. Set an encrypted image name
$ imwrite([encrypted_image_file_name], dst);
  1. Set a decrypted image name
$ imwrite([decrypted_image_file_name], Dec);
  1. Run
  1. Verify the signature

First the signature (any applied signature) should be verified for the input image.

  1. Type a decryption block range (M N M* N*) - (M* > M , N* > N)
  2. Both Encrypted and Decrypted images are generated

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published