* Left pad a string with zeros * @param str String to pad * @param len Desired length * @returns Padded string
(str: string, len: number)
| 88 | * @returns Padded string |
| 89 | */ |
| 90 | private static leftPad(str: string, len: number): string { |
| 91 | return str.padStart(len, "0") |
| 92 | } |
| 93 | |
| 94 | /** |
| 95 | * Verify if the input code is valid for the given secret |
no outgoing calls
no test coverage detected