Radar · Go · Archive · Week 20 · May 12 – 18, 2025
crypto/ecdsa: add NewPublicKey and PublicKey.Bytes
Nice to knowstdlib
- What changed
- The
ecdsapackage now supports parsing and encoding uncompressed public keys viaParseUncompressedPublicKeyandPublicKey.Bytes. - Production impact
- The source does not say.
- Try it
- Parse a known uncompressed key with
ParseUncompressedPublicKeyand then round‑trip it withPublicKey.Bytes. - Source
- github.com/golang/go/issues/63963
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed