MCPcopy Create free account
hub / github.com/daniel2005d/mapXplore / Hashing

Class Hashing

utils/utils.py:143–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 return decoded
142
143class Hashing:
144 @staticmethod
145 def get_md5(text)->str:
146 if isinstance(text, bytes):
147 return hashlib.md5(text).hexdigest()
148 else:
149 return hashlib.md5(text.encode()).hexdigest()
150
151class CastDB:
152 def cast_column(column_name, data_type):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected