Time-based one-time password algorithm: Difference between revisions

m
Line 547:
println(code) //-->eg 707355416
}();</lang>
The MsgHash HMAC routines are pretty simple (the hash code is C), included here for completeness:
<lang zkl>// https://en.wikipedia.org/wiki/Hash-based_message_authentication_code
fcn hmac(key,msg,hashFcn,asString){
Anonymous user