Documentation
¶
Overview ¶
Package otputils holds generic, table-agnostic OTP helpers: id/code generation and salted-hash create/verify. No DynamoDB or table knowledge lives here.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateFlowID ¶
Opaque URL-safe flow id, e.g. "fl_8xLQ2h7ZK3pR9tVmNq0wYbC1".
func GenerateOTPCode ¶
Zero-padded 6-digit CSPRNG code, e.g. "042931".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.