In
computing, the
least significant bit (
LSb) is the
bit position in a
binary integer representing the lowest-order place of the integer. Similarly, the
most significant bit (
MSb) represents the highest-order place of the binary integer. The LSb is sometimes referred to as the
low-order bit. Due to the convention in
positional notation of writing less significant digits further to the right, the LSb also might be referred to as the
right-most bit. The MSb is similarly referred to as the
high-order bit or
left-most bit. In both cases, the LSb and MSb correlate directly to the least significant
digit and most significant digit of a
decimal integer. Bit indexing correlates to the positional notation of the value in base 2. For this reason, bit index is not affected by how the value is stored on the device, such as the value's
byte order. Rather, it is a property of the numeric value in binary itself. This is often utilized in programming via
bit shifting: A value of 1 <<
n corresponds to the
nth bit of a binary integer (with a value of 2n).
Least significant bit in digital steganography In digital
steganography, sensitive messages may be concealed by manipulating and storing information in the least significant bits of an image or a sound file. The user may later recover this information by extracting the least significant bits of the manipulated pixels to recover the original message. This allows the storage or transfer of digital information to remain concealed. A diagram showing how manipulating the least significant bits of a color can have a very subtle and generally unnoticeable effect on the color. In this diagram, green is represented by its
RGB value, both in decimal and in binary. The red box surrounding the last two bits illustrates the least significant bits changed in the binary representation. == Unsigned integer example ==