Implement strength for whole library
This commit is contained in:
+2
-1
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user