12 lines
261 B
Bash
12 lines
261 B
Bash
#!/bin/bash
|
|
|
|
## zOTP Bash Example for Function genHash - Calculate a Blake2 Hash using a short string if text
|
|
|
|
declare thesalt="zOTP by Ze'ev Schurmann"
|
|
|
|
source zotp.inc.sh
|
|
|
|
variablename="$(genHash "This is a short string of text." b2)"
|
|
|
|
echo "${variablename}"
|