Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Change an image sha signature

Project description

# shachange: Change an image sha signature

[![Build Status](https://travis-ci.org/gabfl/shachange.svg?branch=master)](https://travis-ci.org/gabfl/shachange)

`shachange` is a very simple Python program designed to change the signature of an image (sha1, sha256, md5...) in order to fool computer programs designed to identify unique images based on their signatures.

The modification in the image is virtually impossible to see for a human but computers programs will see the image as a different one.

## How does it work?

- A single pixel is slightly modified: it will change the image signature and will be virtually indistinctible for a human
- For improved security, meta data are removed

## Demo

![Demo](https://github.com/gabfl/shachange/blob/master/img/demo.gif?raw=true)

## Installation

```
pip3 install shachange
```

## Usage

```
shachange --file 'image.jpg'
Current file signature: f482afa0a6d9fa0023df7c35c978b5ccd59e3904 -> from image.jpg
New file signature: a53d273986cb08f5135835744397f2c05e61bc37 -> saved to image_2.jpg
```


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for shachange, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size shachange-1.2-py2.py3-none-any.whl (5.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size shachange-1.2.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page