Handlebars Helpers
Random Pin
Returns a random numerical pin of custom length
Uses
- Use to generate a random numerical pin of custom length
- Use for an OTP system to send via SMS or email
- Use for a random password generator
- Use as a simple random password generator to encrypt simple (non-sensitive) data (together with encrypt and decrypt helpers)
Usage
Helper name : randompin
eg.
{{#randompin 4}}{{/randompin}}
Examples
Simple 4 digit PIN
Example using a savedata task
Substituted definition