Published January 5, 2026
| Version v2
Software
Open
Provable Secure Steganography Based on Adaptive Dynamic Sampling
Description
# ADS Steganography
This repo provides a minimal implementation of Adaptive Dynamic Sampling (ADS) steganography.
You can run the pipeline via ADS.ipynb,including the encoding and decoding algorithms.
## Repository layout
<summary><b>Repository structure</b></summary>
```text
ADS-github/
├── ADS.ipynb
├── README.md
├── requirements.txt
├── bit_stream.txt (secret messages, only for reference)
├── instinwild_en_4000.json (prompts)
└── XHS.jsonl (prompts)
```
## Installation
Python 3.9+ recommended
```text
pip install -r requirements.txt
```
### Model
In this experiment, we download large language models that are available on Hugging Face(https://huggingface.co/).
Users also can load the model directly from Hugging Face using a model ID.
## Quick Start
1. Insstall dependencies.
2. Open the notebook: ADS.ipynb
3. Run cells in order to reproduce encoding/decoding.
## Secret message
We use a randomly generated binary bitstream as the secret message in ADS.ipynb. The provided bit_stream.txt is only for reference; users may also choose to load bit_stream.txt as the secret message, which yields the same functionality.
## Datasets (prompts)
• XHS.jsonl (Chinese prompts, JSON Lines)
• instinwild_en_4000.json (English prompts, JSON)
These are for quick checks; replace with your own prompts for experiments.
## Ethics
Steganography is not a panacea that takes the risk of circumvention away.
This repository is provided strictly for academic evaluation. Please comply with applicable laws, regulations, and platform policies.
Files
ADS.ipynb
Files
(10.0 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:c5ebb7ee79026e58d2beb419610a1597
|
15.2 kB | Preview Download |
|
md5:cffef06426f5b7282afee2e9e99450b4
|
1000.0 kB | Preview Download |
|
md5:1aa477de4dbb7a15080e6a87f286afec
|
3.8 MB | Preview Download |
|
md5:a6d0e672ba9dea89689e8237d488744c
|
1.2 kB | Preview Download |
|
md5:f7be0b03c4d1d2756b2a09f836f135d0
|
79 Bytes | Preview Download |
|
md5:5053710e4cd3d2d9e1cdc381d3b48584
|
5.2 MB | Download |