toString method
Get hash as hex string (byte-reversed for display)
Implementation
@override
String toString() {
// Create a copy and reverse bytes for display (Bitcoin convention)
final reversed = Uint8List(hashSize);
for (int i = 0; i < hashSize; i++) {
reversed[i] = _bytes[hashSize - 1 - i];
}
return reversed.map((b) => b.toRadixString(16).padLeft(2, '0')).join('');
}