HMG(Hiding Secret Messages in Graph Datasets) is a Python package that presents a collection of steganography and watermarking algorithms for graph datasets.
python setup.py install
The default graph engine is based on the functionality of networkx
.
However, we can also use python-igraph
instead of networkx
.
from hmg.engine import GraphEngine
ge = GraphEngine('networkx') # Use networkx for creating GraphEngine object.
ge = GraphEngine('igraph') # Use python-igraph for creating GraphEngine object.
This repository provides some basic experiments for each algorithm in experiments
directory.
- BIND:
bind_omnipath.py
- BYMOND:
bymond_ddi.py
- BYNIS:
bynis_powerlaw.py
- WU2019:
wu2019_paper_examples.py
- WU2020:
wu2020_paper_examples.py
To perform the experiments for OGB datasets, we need to install the following packages.
The reason for installing the PyTorch packages is that ogb
package depends on these packages.
After installing the above packages, install ogb
package.
pip install ogb
Now, we can download the datasets using experiments/download_ogb.py
.
The default download directory is data/ogb
.
cd experiments
python download_ogb.py
In experiments
directory, execute python (algorithm)_ogb_payload.py
.
These scripts perform the encoding simulation experiments for all datasets of OGB.
- BIND:
bind_ogb_pyaload.py
- BYMOND:
bymond_ogb_pyaload.py
@article{
dwlee2025hmg,
title = {Hiding secret messages in large-scale graphs},
journal = {Expert Systems with Applications},
volume = {264},
pages = {125777},
year = {2025},
issn = {0957-4174},
doi = {https://doi.org/10.1016/j.eswa.2024.125777},
url = {https://www.sciencedirect.com/science/article/pii/S0957417424026447},
author = {Daewon Lee},
keywords = {Information hiding, Steganography, Watermarking, Graphs, Networks}
}