Files
zotp-bash/genotp-onehash.sh
2026-06-06 21:36:42 +02:00

12 lines
263 B
Bash

#!/bin/bash
## zOTP Bash Example for Function genOTP - Calculate a custom 5 digit OTP using a single hash
declare thesalt="zOTP by Ze'ev Schurmann"
source zotp.inc.sh
variablename="$(genOTP d03d5fc2f2b73c917cee8d0bc1153b5affe4a243 5)"
echo "${variablename}"