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