EC Cryptography Tutorials - Herong's Tutorial Examples - v1.02, by Dr. Herong Yang
EC Curves Supported by Java
This section provides is a list of named curves that are supported or not supported by 'keytool' and Java default library.
As a reference, here is a list of named curves that are supported or not supported by "keytool" and Java default library. RSA/DSA key sizes of equivalent strengths are also listed.
Curve Size Strength RSA/DSA JDK 15 --------- ---- -------- ------- ------ secp112r1 112 56 Legacy sect113r1 113 56 Legacy secp128r1 128 64 Legacy sect131r1 131 65 Legacy secp160r1 160 80 Legacy sect163r2 163 82 Legacy c2tnb191v1 191 95 Legacy secp192r1 192 96 1536 Legacy sect193r1 193 96 Legacy c2pnb208w1 208 104 No secp224r1 224 112 2048 Legacy sect233k1 233 116 Legacy prime239v1 239 119 Legacy secp256r1 256 128 3072 Yes c2pnb272w1 272 181 No sect283k1 283 141 Legacy c2pnb304w1 304 152 No brainpoolP320r1 320 160 Legacy c2tnb359v1 359 179 Legacy c2pnb368w1 368 184 No secp384r1 384 192 7680 Yes sect409k1 409 204 Legacy c2tnb431r1 431 215 Legacy brainpoolP512r1 512 256 Legacy secp521r1 521 260 15360 Yes sect571k1 571 285 Legacy
Table of Contents
Geometric Introduction to Elliptic Curves
Algebraic Introduction to Elliptic Curves
Abelian Group and Elliptic Curves
Discrete Logarithm Problem (DLP)
Generators and Cyclic Subgroups
tinyec - Python Library for ECC
ECDH (Elliptic Curve Diffie-Hellman) Key Exchange
ECDSA (Elliptic Curve Digital Signature Algorithm)
ECES (Elliptic Curve Encryption Scheme)
"keytool -keyalg EC" - Generate EC Key Pair
"keytool -groupname ..." - Select Curve Name
Java Program to Generate EC Keys