Added length type check to HOTP and corresponding test
2 files changed