Skip to content

Commit 658e4d5

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

HashifyNet/Algorithms/Argon2id/IsopohImplementation/Argon2/Argon2.InitFillFinal.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private SecureArray<byte> InitialHash()
102102
}
103103

104104
var hv = transformer.FinalizeHashValue();
105-
Array.Copy(hv.Hash, ret.Buffer, hv.Hash.Length);
105+
Array.Copy(hv.AsByteArray(), ret.Buffer, hv.Hash.Length);
106106

107107
return ret;
108108
}
@@ -389,3 +389,4 @@ private sealed class FillState
389389
}
390390

391391
}
392+

0 commit comments

Comments
 (0)