object

# `otp`

HOTP and TOTP generation and verification predicates.

Availability:
`logtalk_load(otp(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-07-14
Compilation flags:
`static, context_switching_calls`
Implements:
`public` otp_protocol
Uses:
base32
hmac
list
Remarks:
(none)
Inherited public predicates:
hotp/5 hotp_verify/7 totp/5 totp_verify/7

## Public predicates

(no local declarations; see entity ancestors if any)

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)

See also

base32, hmac, sha1, sha256, sha512_256