task() API, documentation work

This commit is contained in:
udo
2022-01-09 00:20:35 +00:00
parent 2c2225c76f
commit cbf57a9a35
79 changed files with 1094 additions and 136 deletions
+10
View File
@@ -0,0 +1,10 @@
: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'.