Skip to main content
# 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
```


Metadata

Release files for shachange 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shachange 1.2
File Size Uploaded
shachange-1.2.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for shachange 1.2
File Interpreter ABI Platform
shachange-1.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 8.8 kB

Release files / shachange-1.2.tar.gz

Download URL shachange-1.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
47470299cafdebe7a6a5f9a764f4bada3e4effae44e12355c205b30cbe751a2c
BLAKE2b-256 checksum
How to use checksums
41cea56ace3261e241f1d7e695f1475cf73fbcb2f3785d20579e71d49b0cdfc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / shachange-1.2-py2.py3-none-any.whl

Download URL shachange-1.2-py2.py3-none-any.whl
Size 5.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a9fab0d8adf50736b6f8d4a77879cf1e7e0149d724cfb7213437b01405b85d94
BLAKE2b-256 checksum
How to use checksums
c33984d559ceb3160be4620959fb84000066c5ab0d00975096cc1ca4c2400448
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2 This release

2 release files

1.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page