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