Module tch.crypto

Bindings to crypto functions.

Functions

md5(s) Calculate the MD5 hash in hexadecimal notation of the given string.


Functions

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.
generated by LDoc 1.4.5 Last updated 2017-05-04 22:24:31