darf.src.util.hash module

Hash module

Use this module to manage and get access to hashes of objects.

darf.src.util.hash.compute_hash(obj: str, *args, encoding: str = 'utf-8', **kwargs) str

compute_hash.

Use library blake2 to compute the hash of the input

Parameters:
  • obj (str) – obj String representation fo the object

  • args – args

  • kwargs – kwargs

Return type:

str