fix #10 KDF.Complexity derivation functions now require salt

This commit is contained in:
sergeych committed 2025-03-12 23:39:26 +03:00
1 parent fe6190eb8d
commit 875c0f7a50
2 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -442,7 +442,7 @@ class KeysTest {
assertContentEquals(k2.keyBytes, k2.id.id.body)
val k7 = SymmetricKey.new()
val k8 = KDF.Complexity.Interactive.derive("super")
val k8 = KDF.Complexity.Interactive.derive("super", KDF.Argon.randomSalt())
fun testToString(k: UniversalKey) {
val s = k.toString()