$CryptographicEllipticCurveNames
$CryptographicEllipticCurveNames
gives a list of the elliptic curves supported for key generation and digital signatures.
Details
- $CryptographicEllipticCurveNames enumerates values for the "CurveName" option for GenerateAsymmetricKeyPair, GenerateDigitalSignature and GenerateFileSignature.
- Supported elliptic curve names include:
-
"prime192v1" NIST/X9.62/SECG curve over a 192-bit prime field "prime256v1" X9.62/SECG curve over a 256-bit prime field "secp224r1" NIST/SECG curve over a 224-bit prime field "secp256k1" SECG curve over a 256-bit prime field "secp384r1" NIST/SECG curve over a 384-bit prime field "secp521r1" NIST/SECG curve over a 521-bit prime field "sect163k1" NIST/SECG/WTLS curve over a 163-bit binary field "sect163r2" NIST/SECG curve over a 163-bit binary field "sect233k1" NIST/SECG/WTLS curve over a 233-bit binary field "sect233r1" NIST/SECG/WTLS curve over a 233-bit binary field "sect283k1" NIST/SECG curve over a 283-bit binary field "sect283r1" NIST/SECG curve over a 283-bit binary field "sect409k1" NIST/SECG curve over a 409-bit binary field "sect409r1" NIST/SECG curve over a 409-bit binary field "sect571k1" NIST/SECG curve over a 571-bit binary field "sect571r1" NIST/SECG curve over a 571-bit binary field - Supported twisted Edwards curve names include:
-
"ed25519" NIST curve over a 255-bit prime field "ed448" NIST curve over a 448-bit prime field
Examples
Basic Examples (3)
Get a list of supported elliptic curves:
Create an elliptic curve public and private key pair:
GenerateDigitalSignature will automatically use the same curve:
In GenerateDigitalSignature, specify a value of "CurveName" if the key is a set of bytes:
Create an Edwards curve public and private key pair:
GenerateDigitalSignature will automatically use the same algorithm and curve:
Text
Wolfram Research (2020), $CryptographicEllipticCurveNames, Wolfram Language function, https://reference.wolfram.com/language/ref/$CryptographicEllipticCurveNames.html (updated 2021).
CMS
Wolfram Language. 2020. "$CryptographicEllipticCurveNames." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/$CryptographicEllipticCurveNames.html.
APA
Wolfram Language. (2020). $CryptographicEllipticCurveNames. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$CryptographicEllipticCurveNames.html