MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / md5_hex

Function md5_hex

lib/sqlalchemy/util/langhelpers.py:104–108  ·  view source on GitHub ↗
(x: Any)

Source from the content-addressed store, hash-verified

102
103
104def md5_hex(x: Any) -> str:
105 x = x.encode("utf-8")
106 m = compat.md5_not_for_security()
107 m.update(x)
108 return cast(str, m.hexdigest())
109
110
111class safe_reraise:

Callers

nothing calls this directly

Calls 2

castFunction · 0.70
updateMethod · 0.45

Tested by

no test coverage detected