Is it possible to convert a derived public key to DER format? #134
-
First, great work on this library! I've generated a p256 keypair, and would like to retrieve the public key in the DER format. Is there an easy way to do this with this library. If not, what is the easiest way to achieve this result? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
paulmillr
Apr 3, 2024
Replies: 2 comments
-
The default hex / bytes output are DER-encoded, I believe. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
koredefashokun
-
You're right. The mistake I was making was using viem's |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The default hex / bytes output are DER-encoded, I believe.