How to reconstruct 33-byte compressed NIST P-256 public key from 33 bytes?
问题 Supposed that the 33 bytes encoded Public Key can be created like this: Security.addProvider(provider) val generator = KeyPairGenerator.getInstance("ECDSA") val ecSpec = ECNamedCurveTable.getParameterSpec("secp256r1") generator.initialize(ecSpec) val keyPair = generator.generateKeyPair() val privateKey = keyPair.private as ECPrivateKey val publicKey = keyPair.public as ECPublicKey val publicEncoded = publicKey.q.getEncoded(true) How can I reconstruct it again on the other side (when I am