isSupported property
bool
get
isSupported
Implementation
bool get isSupported {
final macAlgorithm = this.macAlgorithm;
if (macAlgorithm is Hmac) {
final hashAlgorithm = macAlgorithm.hashAlgorithm;
if (hashAlgorithm is Blake2s) {
return true;
}
if (hashAlgorithm is Sha256) {
return true;
}
if (hashAlgorithm is Sha512) {
return true;
}
}
return false;
}