steganography

Steganography - hide data inside an image.

Pure Nim score 30/100 · tests present · docs generated

Summary

Latest Version Unknown
License MIT
CI Status Passing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install steganography
choosenim install steganography
git clone https://github.com/treeform/steganography

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
steganography - - - - - - -

Source

Repository https://github.com/treeform/steganography
Homepage https://github.com/treeform/steganography
Documentation View Documentation
Registry Source nimble_official

README

Steganography Logo

Steganography - hide data inside an image.

nimble install steganography

Github Actions

API reference

About

  • Has uses in cryptography: https://en.wikipedia.org/wiki/Steganography
  • Can be used in games to transfer user creations: https://nedbatchelder.com/blog/200806/spore_creature_creator_and_steganography.html
  • Or just store extra meta infromation in PNG files: https://gamedev.stackexchange.com/questions/72760/how-can-i-store-game-metadata-in-a-png-file

Encode

This is how you would encode an image with a secret message:

var image = readImage("tests/steganographyLogo.png")
encodeMessage(image, "Hello world this is really cool")
image.writeFile("tests/steganographyLogoEncoded.png")

This is how you would decode an image that contains a secret message:

var image = readImage("tests/steganographyLogoEncoded.png")
doAssert decodeMessage(image) == "Hello world this is really cool"