toSha1 property
String
get
toSha1
Implementation
String get toSha1 {
if (this.isEmptyString) {
return "";
}
var bytes = utf8.encode(this);
var digest = sha1.convert(bytes);
return digest.toString();
}