mlreportgen.utils.hash class

Package: mlreportgen.utils

Hash a string


outstring = mlreportgen.utils.hash(instring) generates an MD5 hash for a string. An MD5 hash encodes a string into a 128-bit representation of the string.

Input Arguments

expand all

Input to hash, specified as a string.

Output Arguments

expand all

Hashed output of original string, returned as an MD5 hash.


Hash a string

mlreportgen.utils.hash("This is a test string to hash.")
ans = 


Introduced in R2018b