isSHA256 property
bool
get
isSHA256
Checks if string is SHA256 hash.
Implementation
bool get isSHA256 => matchesRegex(r'([A-Fa-f0-9]{2}\:){31}[A-Fa-f0-9]{2}|[A-Fa-f0-9]{64}');
Checks if string is SHA256 hash.
bool get isSHA256 => matchesRegex(r'([A-Fa-f0-9]{2}\:){31}[A-Fa-f0-9]{2}|[A-Fa-f0-9]{64}');