Always get the last byte as offset, regardless of the buffer size
Add TOTP with HMAC-SHA1 and HMAC-SHA256 + tests