sevnpy.md5hashcode_from_string

sevnpy.utility.utility.md5hashcode_from_string(string: str, ncut: int | None = None) str[source]

Generate a md5 hashcode from a string

Parameters:
  • string (str) – string for which we want to generate an ash code

  • ncut (int,None) – if not None this indicates the maximum number or character of the hashcode we want to return (startingt form the first) Default=None

Returns:

hash_code – The generated hashcode (it can be truncated if ncut is not None)

Return type:

str