ecdh test fix
This commit is contained in:
parent
2fe9b83876
commit
295513f83b
@ -10,7 +10,7 @@ describe('ecdh.js functions', () => {
|
|||||||
const sharedB = sharedKey(keysB.privkey, keysA.pubkey);
|
const sharedB = sharedKey(keysB.privkey, keysA.pubkey);
|
||||||
const sharedAhex = arrayToHex(sharedA);
|
const sharedAhex = arrayToHex(sharedA);
|
||||||
const sharedBhex = arrayToHex(sharedB);
|
const sharedBhex = arrayToHex(sharedB);
|
||||||
expect(sharedAhex === sharedBhex);
|
expect(sharedAhex).toBe(sharedBhex);
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user