1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-25 03:33:01 +02:00
This commit is contained in:
Kyle Spearrin 2023-01-19 17:24:21 -05:00
parent c4a7aab590
commit 270bf114c3

View File

@ -41,7 +41,7 @@ namespace Bit.iOS.Core.Services
public byte[] Argon2id(byte[] password, byte[] salt, int iterations, int memory, int parallelism) public byte[] Argon2id(byte[] password, byte[] salt, int iterations, int memory, int parallelism)
{ {
// TODO: Do we need to pass this in somehow like PBKDF2 based on an algorithm // TODO: Do we need to pass this in somehow like PBKDF2, based on an algorithm?
uint keySize = 32; uint keySize = 32;
var keyData = new NSMutableData(); var keyData = new NSMutableData();
keyData.Length = keySize; keyData.Length = keySize;