Shortcut function to the hasher's object interface.
var hash = CryptoJS.SHA512('message'); var hash = CryptoJS.SHA512(wordArray); Copy
var hash = CryptoJS.SHA512('message'); var hash = CryptoJS.SHA512(wordArray);
The message to hash.
Optional
The hash.
Shortcut function to the hasher's object interface.
Example