0

Web Crypto API allows creating ECC keys with some known curves: https://developer.mozilla.org/en-US/docs/Web/API/EcKeyGenParams

Those are P-256, P-384, P-521.

However as answered at this answer https://crypto.stackexchange.com/a/30273/99862

There are secp256k1, and secp256r1, and maybe more?

Which is the exact P-256 implemented by Web Crypto API?

Maarten Bodewes
  • 96,351
  • 14
  • 169
  • 323
Dan D
  • 103
  • 3

1 Answers1

2

These are the NIST curves as specified in NIST SP800-186. In terms of the IETF designation of RFC4492 they are the same as secp256r1, secp384r1 and secp521r1 (see appendix A of the RFC).

Daniel S
  • 29,316
  • 1
  • 33
  • 73