Anonymous user
Time-based one-time password algorithm: Difference between revisions
Time-based one-time password algorithm (view source)
Revision as of 02:28, 5 February 2017
, 7 years ago→{{header|zkl}}: update
(→{{header|zkl}}: update) |
|||
Line 643:
<lang zkl>// https://en.wikipedia.org/wiki/Hash-based_message_authentication_code
fcn hmac(key,msg,hashFcn,asString){
blkSz,H,Hx := 64,hashFcn.fp1(1,
kn:=key.len();
if(kn>blkSz) key=H(key).howza(0);
|