linotp.lib.HMAC module

HMAC-OTP (RFC 4226)

class linotp.lib.HMAC.HmacOtp(secObj=None, counter=0, digits=6, hashfunc=<built-in function openssl_sha1>)[source]
checkOtp(anOtpVal, window, symetric=False)[source]
generate(counter=None, inc_counter=True, key=None)[source]
hmac(counter=None, key=None)[source]
truncate(digest)[source]