tari-labs / yat-steganography

Embed a Yat into an image using steganography techniques
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Further uses #1

Closed CjS77 closed 1 year ago

CjS77 commented 1 year ago

I used steganography when releasing the daughter's first NFT series in the metadata images.

The idea was that it gave the owner two bullets in the "I own this original thing" armoury.

The first is via the usual NFT on-chain ownership claim. The second is that a message is steganographically encrypted into each image, signed by the artist's private key.

The hash of the signed image is included in the tokenURI data. This creates a 2-way link between the collection and the image. You can prove that a given image belongs to the collection by determining its SHA256 digest and comparing it to the hash in the token metadata.

But you can also identify clones by extracting the signature from the image and verifying it. Unless counterfeiters are aware of the steganography, changing the file's metadata or even some of the pixels will cause the hash to change, but may leave the signature intact, allowing detection by the author or rightful owner.

seandiggity commented 1 year ago

Amazing! Just updating this demo now, which is still barebones and simple, but I will link your example in the README.