:sig String sha1(String s, bool as_binary = false) :params s : data to be hashed as_binary : when set to false, returns hash in hexadecimal notation (defaults to false) return value : the resulting hash value :desc Returns the sha1 hash of 's'. :see >noise :related **PHP:** `sha1()` **JavaScript / Node.js:** Node `crypto.createHash("sha1")` or browser `SubtleCrypto` wrappers