Implement strength for whole library

This commit is contained in:
2024-09-12 01:31:45 +02:00
parent 524e9026b8
commit 76cf4632e4
14 changed files with 97 additions and 66 deletions
+2 -1
View File
@@ -26,7 +26,8 @@ test('Signature', async () => {
const message = new Uint8Array(8)
const signed = await signature.sign(message, privk)
const verification = await signature.verify(message, k.publicKey, signed)
expect(signed).not.toBeNull()
const verification = await signature.verify(message, k.publicKey, signed!)
expect(verification).toBeTrue()
})
test('SecretWrap', async () => {