Initial commit of stable v1.0
This commit is contained in:
15
genhash-multiline.sh
Normal file
15
genhash-multiline.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
## zOTP Bash Example for Function genHash - Calculate a SHA512 Hash using a multiline string of text
|
||||
|
||||
declare thesalt="zOTP by Ze'ev Schurmann"
|
||||
|
||||
source zotp.inc.sh
|
||||
|
||||
variablename="$(genHash "
|
||||
This is the first line of text.
|
||||
This is the second line of text.
|
||||
This is the third line of text.
|
||||
" sha512)"
|
||||
|
||||
echo "${variablename}"
|
||||
Reference in New Issue
Block a user