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

m
(→‎{{header|Tcl}}: Added zkl)
Line 502:
fcn dt(hs){
hs[-1].bitAnd(0xf) : // bottom 4 bits (0-15) of LSB of hash to index
hs.toBigEndian(_,4).abs() // 4 bytes of hash to 32 bit unsigned int
}
Anonymous user