Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
linzissu opened this issue Dec 7, 2021 · 1 comment
Open

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

linzissu opened this issue Dec 7, 2021 · 1 comment

Comments

@linzissu
Copy link

linzissu commented Dec 7, 2021

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! 馃槃

@tancik
Copy link
Owner

tancik commented Dec 8, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants