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

14 lines
251 B
Bash

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