Skip to content

Documentation


Documentation / @kizami/crypto / totpCounterAt

Function: totpCounterAt() ​

totpCounterAt(unixSeconds, stepSeconds?): number

Defined in: totp.ts:54

UTC 秒からカウンタ(= floor(t / step))を求める。

Parameters ​

unixSeconds ​

number

stepSeconds? ​

number = TOTP_STEP_SECONDS

Returns ​

number