getHash method

String getHash(
  1. Map<String, dynamic> arb
)

Implementation

String getHash(Map<String, dynamic> arb) {
  final digest = sha1.convert(arb.toString().codeUnits);
  return base64Encode(digest.bytes).substring(0, 8);
}