I read about LSB insertion online, but it only introduces about how to insert bits to LSB, but it didn't describe how to extract the bits. This is the article I read about LSB insertion.
I understand the method they use below, but how do you extract the bits?
Here's an algorithm for getting the encrypted message:
AND
the red value with a mask of 1 (bits 000000001). So, lsbValue = rvalue & 0x01
. Place the lsbValue (it will only be one or zero) in the highest bit