src/lib/hash.js
function customBase64Hash(str, hashFunction) {
  const result = hashFunction(str).toString(encBase64);
  return customBase64(result);
}
function customBase64Hash(str, hashFunction) {
  const result = hashFunction(str).toString(encBase64);
  return customBase64(result);
}
function customBase64Hash ( str , hashFunction ) { const result = hashFunction ( str ) . toString ( encBase64 ) ; return customBase64 ( result ) ; }
Compute hexadecimal hash and convert it to Base-64.
Compute hexadecimal hash and convert it to Base - 64 .