while key = 16, that is 0000 0000 0001 0000, then we shift right
for 4 bit that is key = 1(0000 0000 0000 0001), then get the mod, it
is similar to key&(0000 0000 1111 1111),so the same, we get 1.
while key = 256, that is 0000 0001 0000 0000, then we shift right
for 4 bit that is key = 16(0000 0000 0001 0000), then get the
mode, similar to key&(0000 0000 1111 1111), so the same, we get
16.