KeeLoq NLFSR function
Extracts five specified bits from number and combines them into new number
Number
Position of first bit (low-order, weight 1)
Position of second bit (weight 2)
Position of third bit (weight 4)
Position of fourth bit (weight 8)
Position of fifth bit (high-order, weight 16)
KeeLoq NLFSR function
Extracts five specified bits from number and combines them into new number