tancik / StegaStamp

Invisible Hyperlinks in Physical Photographs
http://www.matthewtancik.com/stegastamp
MIT License
675 stars 191 forks source link

if this is an unexpected mistake in writing? #28

Closed LeeeLiu closed 3 years ago

LeeeLiu commented 3 years ago

Hello, tancik I wonder if this is an unexpected mistake in writing? "Accounting for error correcting, using only 50 total message bits would drastically reduce the number of possible encoded hyperlinks to under one billion"

The paper said that ”use 100 bits to hide 56 bits“, so if we use 50 bits, it can hide ” under one billion“ ? really?

look forward to your reply. Many Thanks!

tancik commented 3 years ago

Lets say we use ~1/2 of the bits for error correction. If we start with 50 bits, then our message would be ~25 bits. 2^25 ~= 30 million which is < 1 billion.

LeeeLiu commented 3 years ago

Lets say we use ~1/2 of the bits for error correction. If we start with 50 bits, then our message would be ~25 bits. 2^25 ~= 30 million which is < 1 billion.

Oh, I get it. Thank you for your prompt reply!