This commit is contained in:
@@ -74,7 +74,9 @@ describe('ECDH', () => {
|
||||
const k2 = await PrivateWrap.gen_keypair()
|
||||
|
||||
const kd1 = await ecdh(k1.privateKey, k2.publicKey)
|
||||
expect(kd1.extractable).toBe(false)
|
||||
const kd2 = await ecdh(k2.privateKey, k1.publicKey)
|
||||
expect(kd2.extractable).toBe(false)
|
||||
|
||||
expect(kd1).toEqual(kd2)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user