Skip to content

yash-srivastava19/ImageEncoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

ImageEncoder

A simple private key generator for a particular image. It uses basic operations on image and stamps the private key in the image metadata.

v.1.0.1

ImageEncoder went through a major revision in v.1.0.1 to prevent a major flaw in logic. In the previous version, changing just a single pixel craeted an avalanche effect - which might not ideal in many cases. To counter this flaw, we implemented a simple feature extractor using SIFT(Scale Invariant Feature Transform) to detect keypoints in the image. This is then used as a seed for Mersenne Twister Pseudo Random Number Generator(MT19937). From this PRNG, some selected elements are chosen of a particular size. These random number are then shuffled and XORed within one channel, as done previously. From this, the story is similar to the previous version.

The second version also saw removal of QRCode, which was added just as a unique feature - However it can be integrated in future versions(and this version too). It is separate from the Encoder, and it is better to keep it that way.

v.1.0.2

Well, we are moving from what I believed was a pretty clever technique to a place where we do not need to reinvent the wheel. I think it is the right time to move a perceptual hasing approach in the new repo - Maxwell. (ImageEncoder may not be supported) More updates will follow soon !


Additional Resources

Mersenne Twister SIFT Perceptual Hashing

About

A simple private key generator for a particular image.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages