Generate a SHA1 hash from a string.
security.sha1(str);
str
let hash = security.sha1("Hello"); // "f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0"