14 lines
262 B
Bash
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}"
|