Initial commit of stable v1.0
This commit is contained in:
11
genotp-onehash.sh
Normal file
11
genotp-onehash.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/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}"
|
||||
Reference in New Issue
Block a user