A library for hiding a secret message on tabulated data
Project description
Steganodf
A steganography tool for hiding a message in a dataset, such as csv or parquet files.
This tool hides a payload by permuting the rows of the dataset. The is tolerant to modification thanks to a Reed-Solomon code and a Luby-s LT fontain code.
Demo
An example of encoding an image in a parquet file can be found on google collab.
Installation
pip install steganodf
Usage
From command line
# Encoding
steganodf encode -m hello host.csv stegano.csv
steganodf encode -m hello host.parquet stegano.parquet
steganodf encode -m hello -p password host.parquet stegano.parquet
# Decoding
steganodf decode stegano.csv
steganodf decode stegano.csv -p password
From Python
import steganodf
import polars as pl
df = pl.read_csv("https://gist.githubusercontent.com/netj/8836201/raw/6f9306ad21398ea43cba4f7d537619d0e07d5ae3/iris.csv")
new_df = steganodf.encode(df, "made by steganodf", password="secret")
# Extract your message
message = steganodf.decode(df, password="secret")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file steganodf-0.2.5-py2.py3-none-any.whl.
File metadata
- Download URL: steganodf-0.2.5-py2.py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08c794ae058580f06472e5fadd0fe529ea84d6a5a986eeefcbd9e84bdb190e5a
|
|
| MD5 |
1d68a5a8e361ec9d9ad026e7c55958a2
|
|
| BLAKE2b-256 |
521bc1cf2345b26088f31bbdd429ba8549d8d930829d67e84a30ae2ef5f0afb6
|