johnkil/Steganography

Improper use of byte for values > 128

lebenitza opened this issue · 0 comments

If the text size is greater than 128 it will always give an error for LSB algorithms. Use Byte.toUnsignedInt when you compare the values.