I wrote a function to get the last 4 bits of a hmac 20-byte byte. (Working on TOTP implementation)
I got everything working, however, I found that getting into bits w