otp-code-generator
Generate Time-based One-Time Password (TOTP) codes using a Base32 secret key. Specify code length and time period for secure, time-sensitive authentication.
Instructions
Generate Time-based One-Time Password (TOTP) codes
Input Schema
Name | Required | Description | Default |
---|---|---|---|
digits | No | Number of digits in the code | |
period | No | Time period in seconds | |
secret | Yes | Base32 encoded secret key |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"digits": {
"description": "Number of digits in the code",
"type": "number"
},
"period": {
"description": "Time period in seconds",
"type": "number"
},
"secret": {
"description": "Base32 encoded secret key",
"type": "string"
}
},
"required": [
"secret"
],
"type": "object"
}