hash function naming

This commit is contained in:
udo
2022-01-19 22:38:48 +00:00
parent 08496afa11
commit c17c72d59f
18 changed files with 71 additions and 52 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'.