Module tch.crypto
Bindings to crypto functions.
md5(s) |
Calculate the MD5 hash in hexadecimal notation of the given string. |
-
md5(s)
-
Calculate the MD5 hash in hexadecimal notation of the given string.
Parameters:
- s
string
The string to calculate the hash of.
Returns:
string
The hexadecimal representation of the MD5 hash of
the given string.
Raises:
Throws in case the given argument is not a string.