Skip to content

Commit bd791de

Browse files
authored
Change Hash to AsByteArray()
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 5f4e725 commit bd791de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

HashifyNet.UnitTests/Algorithms/Blake3/Blake3_Implementation_Tests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ private static byte[] Blake3Hash(byte[] data, int bits = 256)
144144
{
145145
var blake3Hasher = new Blake3_Implementation(new Blake3Config(bits));
146146
var hashResult = blake3Hasher.ComputeHash(data, bits);
147-
return hashResult.Hash;
147+
return hashResult.AsByteArray();
148148
}
149149

150150
private static string Hex(byte[] bytes) =>
@@ -2427,3 +2427,4 @@ protected override IBlake3 CreateHashFunction(int hashSize) =>
24272427

24282428
}
24292429
}
2430+

0 commit comments

Comments
 (0)