Open jiyoontbd opened 6 months ago
DID DHT advocates for using compressed key representations when possible. Here's some more information on compression of elliptic curve keys also here.
Notably compression only matters with binary (or non-JWK) representations of keys, as JWKs do not support compressed key representations.
As a reference the ssi-sdk supports an open during conversion to/from public/private keys and their byte representations for compression and there's common library support for compressed key representations.
would like more input from @decentralgabe wrt this comment https://github.com/TBD54566975/web5-kt/pull/262#discussion_r1540333190