fix #10 KDF.Complexity derivation functions now require salt
This commit is contained in:
1 parent
fe6190eb8d
commit
875c0f7a50
2 files changed
+6
-5
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user