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

14 lines
262 B
Bash

#!/bin/bash
## zOTP Bash Example for Function newOTP - Create a new 7 digit OTP using Default Hashing Agorithm
declare thesalt="zOTP by Ze'ev Schurmann"
source zotp.inc.sh
declare theseed="user@domain.tld"
variablename="$(newOTP 7)"
echo "${variablename}"