Shortcut function to the hasher's object interface.

var hash = CryptoJS.SHA1('message');
var hash = CryptoJS.SHA1(wordArray);