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