Feature Proposal: Dual-Layer Watermarking — Add Hardware-Bound ASIC Provenance to blind_watermark
Hi @guofei9987,
blind_watermark is an excellent Chinese open-source watermarking library (12,782⭐) with robust DCT + DWT embedding and extraction. I have a project that could complement your blind watermarking with hardware-bound provenance.
SiliconSignature — ASIC-Based Image Authentication
We use ASIC miners (Antminer S9 BM1387) to generate proof-of-work nonces, then embed them via Reed-Solomon LSB watermarking.
Proposed Integration: Dual-Layer Watermarking
Your library provides content protection (copyright). What if it also provided hardware provenance (authenticity)?
New API: blind_watermark.silicon_signature
import blind_watermark
# Current: your excellent blind watermarking
bwm = blind_watermark.WaterMark(password_img=1, password_wm=1)
bwm.read_img('input.jpg')
bwm.read_wm('copyright.png')
bwm.embed('watermarked.jpg')
# NEW: hardware-bound provenance layer
from blind_watermark import silicon_signature
# Generate ASIC nonce and embed as second watermark
signature = silicon_signature.embed(
image='watermarked.jpg',
asic_device='/dev/ttyUSB0', # USB ASIC miner
metadata={'author': 'guofei9987', 'license': 'MIT'}
)
# Verification anywhere, no original needed
result = silicon_signature.verify('watermarked.jpg')
# → {
# 'authentic': True,
# 'asic_id': 'BM1387-0x7a3f...',
# 'integrity': 'FULL',
# 'metadata': {'author': 'guofei9987', 'license': 'MIT'}
# }Two-Layer Security Model
| Layer | Library | Protection | Forge Cost |
|---|---|---|---|
| Content | blind_watermark (current) | Copyright | $0 (retrain) |
| Provenance | SiliconSignature (proposed) | Authenticity | $10,000+ (ASIC) |
Combined: Even if someone breaks your blind watermark, they still need a physical ASIC miner to forge the provenance signature.
Why This Fits blind_watermark
| Feature | Current | + SiliconSignature |
|---|---|---|
| Blind extraction | ✅ No original needed | ✅ Preserved |
| Robustness | ✅ DCT + DWT resistant | ✅ + Reed-Solomon LSB |
| Copyright proof | ✅ Yes | ✅ + hardware proof |
| Tamper detection | ❌ No | ✅ Exact pixel via syndrome |
| Offline verify | ✅ Yes | ✅ + ASIC ID lookup |
Technical Details
- ASIC: SHA-256 on Antminer S9 BM1387 (or $30 USB stick)
- Watermark: Reed-Solomon GF(2^8), 5× redundancy
- Embed: LSB (complements your DCT/DWT, different domain)
- Verify: Offline Python, zero dependencies
- Forge barrier: Physical ASIC required ($10,000+)
- Repo: https://github.com/Agnuxo1/Secure_image_generation_with_ASIC_signature
Author
Francisco Angulo de Lafuente (@Agnuxo1) — independent researcher, 35 years
Interested in dual-layer watermarking combining your blind extraction with our hardware-bound provenance?
— Francisco
Source: guofei9987/blind_watermark