cleanup, docs
This commit is contained in:
@@ -14,7 +14,6 @@ Returns the SHA-1 hash of `s`.
|
||||
|
||||
When `as_binary` is `false`, the hash is returned as hexadecimal text. When it is `true`, the raw binary hash bytes are returned.
|
||||
|
||||
## Related Concepts
|
||||
|
||||
- PHP: `sha1()`
|
||||
- JavaScript / Node.js: Node `crypto.createHash("sha1")` or browser `SubtleCrypto` wrappers
|
||||
:example
|
||||
print(gen_sha1("hello") != "" ? "sha1\n" : "empty\n");
|
||||
|
||||
Reference in New Issue
Block a user