urlSha1 property
String?
get
urlSha1
Returns the SHA1 hash of the URL, or null if URL is not available.
Implementation
String? get urlSha1 {
final u = description?.url;
if (u == null) return null;
// Use Dart's crypto package for SHA1
final bytes = utf8.encode(u);
final digest = sha1.convert(bytes);
return digest.toString();
}