Add Reed-Solomon error correction to DCT steganography
- Add reedsolo library for RS error correction (32 symbols = 16 byte correction per 223-byte chunk) - Protect entire payload (header + data) with RS encoding - Store 3 copies of length header with majority voting for robustness - Handle RS chunking overhead (varies based on data size) - Update capacity calculation to account for RS overhead (24 bytes prefix + variable RS overhead) - Add RS to dct, web, and api optional dependencies - Update about.html with v4.1.0 Reed-Solomon feature - Update module docstring This fixes DCT decode failures with certain carrier images that have uniform areas causing unstable DCT coefficients. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -100,6 +100,7 @@
|
||||
<li><strong>Output:</strong> JPEG or PNG</li>
|
||||
<li><strong>Color:</strong> Color or grayscale</li>
|
||||
<li><strong>Speed:</strong> ~2s</li>
|
||||
<li><strong>Error Correction:</strong> Reed-Solomon <span class="badge bg-info ms-1">v4.1</span></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<div class="small">
|
||||
@@ -383,11 +384,18 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>4.1.0</strong></td>
|
||||
<td>
|
||||
<strong>Reed-Solomon error correction</strong> for DCT mode (corrects up to 16 byte errors per 223-byte chunk),
|
||||
majority voting on length headers, improved robustness with problematic carrier images
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>4.0.0</strong></td>
|
||||
<td>
|
||||
<strong>Channel keys</strong> for group/deployment isolation,
|
||||
DCT default, simplified auth, passphrase replaces day_phrase,
|
||||
DCT default, simplified auth, passphrase replaces day_phrase,
|
||||
4-word default, JPEG fix, large image support, subprocess isolation, Python 3.10-3.12
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user