Mix the bits of a 4-/8-/16-bit value via only multiply/and/shift operations, as demonstrated in Sean Anderson's Bit Twiddling Hacks. Click the blue text to flip bits and edit inputs.
BitMix by @binji, technique and "reverse byte" by Sean Anderson, "interleave bits" by Holger Bettag