hmacSHA512 function
This is the method that we are using to generate the hmac used in deriving the mac
Implementation
Uint8List hmacSHA512(Uint8List key, Uint8List data) {
final _tmp = HMac(SHA512Digest(), 128)..init(KeyParameter(key));
return _tmp.process(data);
}