Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Curve question #14

Open
heathsnee opened this issue Jun 20, 2022 · 1 comment
Open

Curve question #14

heathsnee opened this issue Jun 20, 2022 · 1 comment

Comments

@heathsnee
Copy link

Hey guys, I have a question, is there a reason why PTE extension uses different curve ?

Extension:

export const curve = new ec("p256");

Wallet:

const thirdPartyLibEllipticSecp256k1 = new ec('secp256k1')

https://github.com/radixdlt/radixdlt-javascript/blob/851903f1df3bf4c1c54bdc4a8e1642e21fa5d092/packages/crypto/src/elliptic-curve/publicKey.ts#L10

@iamyulong
Copy link
Member

iamyulong commented Aug 29, 2022

Hi, we were testing p256 for its wide support by security enclave in mobile devices.

This now has been reverted.

The planned supported curves are secp256k1 (already in Scrypto v0.5) and ed25519 for Babylon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants