hashAlgorithmName property
String
get
hashAlgorithmName
Implementation
String get hashAlgorithmName {
final hashAlgorithm = this.hashAlgorithm;
if (hashAlgorithm is Sha1) {
return 'SHA-1';
}
if (hashAlgorithm is Sha256) {
return 'SHA-256';
}
if (hashAlgorithm is Sha384) {
return 'SHA-384';
}
if (hashAlgorithm is Sha512) {
return 'SHA-256';
}
return '';
}