Hash a piece of text
outstring = mlreportgen.utils.hash(intext)
example
outstring = mlreportgen.utils.hash(intext) generates an MD5 hash for a piece of text. An MD5 hash encodes the text into a 128-bit representation.
outstring
intext
mlreportgen.utils.hash("This is a test string to hash.")
ans = "5d075889248b68d16b1fa9ad430fb4c8"
collapse all
Text to hash, specified as a character vector or string scalar.
Hashed representation of original text, returned as a string scalar.
mlreportgen.utils.normalizeString | mlreportgen.utils.toString
mlreportgen.utils.normalizeString
mlreportgen.utils.toString