There is a newer version of the record available.

Published December 12, 2025 | Version v1
Software Open

Provable Secure Steganography Based on Adaptive Dynamic Sampling

Authors/Creators

  • 1. ROR icon Tsinghua University

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/).

 

## 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

bit_stream.txt

Files (10.0 MB)

Name Size Download all
md5:ff47433e173163a2942e9a81ffdb435a
14.5 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:09c1988578d31744a7cf557b198ab9d6
5.3 kB Preview Download
md5:5053710e4cd3d2d9e1cdc381d3b48584
5.2 MB Download