def hash_b64(s):
  hasher = sha256(s)
  result= base64.b64encode(hasher.digest())[:-1]
  return result
hash the string using sha1 and produce a base64 output
dataset/ETHPy150Open benadida/helios-server/helios/crypto/utils.py/hash_b64