Thanks for the new release and continuous cleanups! Currently if I need the public key without compression, I need to still separately call getPublicKey. Would be nice if keygen took care of formatting the public key directly 🙂
|
keygen: (seed?: Uint8Array) => { secretKey: Uint8Array; publicKey: Uint8Array }; |
|
getPublicKey: (secretKey: PrivKey, isCompressed?: boolean) => Uint8Array; |
Thanks for the new release and continuous cleanups! Currently if I need the public key without compression, I need to still separately call
getPublicKey. Would be nice ifkeygentook care of formatting the public key directly 🙂noble-curves/src/abstract/weierstrass.ts
Lines 318 to 319 in 4c5478b