StegaStamp icon indicating copy to clipboard operation
StegaStamp copied to clipboard

Why StegaStamp can only encode 56bits (7 characters) with ECC?

Open linzissu opened this issue 3 years ago • 1 comments

Dear tancik:

I got the following error when running encode_image.py:

Error: Can only encode 56 bits (7 characters) with ECC.

I'm confused about why it can only encode 56 bits (7 characters) with ECC.

Thanks in advance! 😄

linzissu avatar Dec 07 '21 11:12 linzissu

The total message budget is 100 bits but some of the bits need to be used for error correction. We use BCH codes which you can learn more about here - https://en.wikipedia.org/wiki/BCH_code

tancik avatar Dec 08 '21 20:12 tancik