Anonymous user
Time-based one-time password algorithm: Difference between revisions
Time-based one-time password algorithm (view source)
Revision as of 07:31, 29 August 2015
, 8 years ago→{{header|zkl}}: comment
m (→{{header|zkl}}: tweak) |
m (→{{header|zkl}}: comment) |
||
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){
|