We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ad1a5a commit 19e06ebCopy full SHA for 19e06eb
HashifyNet/Algorithms/Keccak/Keccak_Implementation.cs
@@ -122,7 +122,7 @@ protected override IHashValue FinalizeHashValueInternal(ReadOnlySpan<byte> lefto
122
int bytesToSqueeze = (_hashSizeInBits + 7) / 8;
123
byte[] hash = Squeeze(bytesToSqueeze);
124
125
- return new HashValue(ValueEndianness.NotApplicable, hash, _hashSizeInBits);
+ return new HashValue(ValueEndianness.BigEndian, hash, _hashSizeInBits);
126
}
127
128
private void Absorb(ReadOnlySpan<byte> data)
@@ -259,4 +259,4 @@ private void KeccakF1600_Permute()
259
#endregion
260
261
262
-}
+}
0 commit comments