Wrapper around the reference C implementation of Argon2
let (rawHash, encodedHash) = Argon2.hash(
password: password,
salt: salt,
iterations: 1,
memory: 32 * 1024,
threads: 1,
length: 32,
type: .id,
version: .v13
)
Wrapper around the reference C implementation of Argon2
let (rawHash, encodedHash) = Argon2.hash(
password: password,
salt: salt,
iterations: 1,
memory: 32 * 1024,
threads: 1,
length: 32,
type: .id,
version: .v13
)