hmacSha256 method

Uint8List hmacSha256(
  1. Uint8List key,
  2. Uint8List data
)

Computes HMAC-SHA256 code for binary data data using cryptographic key key.

Returns Uint8List object containing computed code.

Implementation

Uint8List hmacSha256(Uint8List key, Uint8List data) =>
    _Cryptor().hmacSha256(key, data);