chenzihong-gavin
init
acd7cf4
raw
history blame contribute delete
210 Bytes
from hashlib import md5
def compute_args_hash(*args):
return md5(str(args).encode()).hexdigest()
def compute_content_hash(content, prefix: str = ""):
return prefix + md5(content.encode()).hexdigest()