HmacSha256Signer.fromString constructor

HmacSha256Signer.fromString(
  1. String key
)

Signs with the UTF-8 encoding of key.

Implementation

HmacSha256Signer.fromString(String key) : this(utf8.encode(key));