Lines Matching full:hex
46 () => ECDH.convertKey(cafebabePubPtComp, 'secp256k1', 'hex', 'hex', 10),
56 'hex',
61 'hex',
66 'hex',
75 // Format conversion from hex to hex
78 'hex',
79 'hex',
83 'hex',
84 'hex',
88 'hex',
89 'hex',
97 ecdh1.setPrivateKey(cafebabeKey, 'hex');
98 assert.strictEqual(ecdh1.getPublicKey('hex', 'uncompressed'), uncompressed);
99 assert.strictEqual(ecdh1.getPublicKey('hex', 'compressed'), compressed);
100 assert.strictEqual(ecdh1.getPublicKey('hex', 'hybrid'), hybrid);
120 () => ECDH.convertKey(badKey, 'secp256k1', 'hex', 'hex', 'compressed'),