calculateClientSignature method

Future<List<int>> calculateClientSignature(
  1. String authMessage,
  2. List<int> storedKey
)

Implementation

Future<List<int>> calculateClientSignature(
  String authMessage,
  List<int> storedKey,
) async {
  return (await Hmac(_hash).calculateMac(
    utf8.encode(authMessage),
    secretKey: SecretKey(storedKey),
  ))
      .bytes;
}