operator == method
- @override
override
Returns whether this is equal to another digest.
This should be used instead of manual comparisons to avoid leaking information via timing.
Implementation
@override
bool operator ==(Object other) =>
other is Digest && const ListEquality().equals(bytes, other.bytes);