用Java卡在Java中构建ecpublic键

发布于 2025-01-25 18:55:47 字数 190 浏览 1 评论 0原文

这个问题在这里与此有关: >

但是,在答案中,没有解释如何提取X和Y-我该怎么做?

This question relates to this one here: Recovering an ECPublicKey from JavaCard to Java

However in the answer it isn't explained how to extract x and y - how can I do this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

私野 2025-02-01 18:55:47

“ W”值由X和Y值组成。

第一个字节应为04、02或03-,该字节表示未压缩或压缩。最后两个字节是状态字节,例如90 00。

其余字节是x,然后是y值,y值都是相同的长度

The 'w' value is made up of the x and y values.

The first byte should be either 04, 02 or 03 - which indicates if it is uncompressed or compressed. The last two bytes are status bytes, e.g. 90 00.

The remaining bytes are the x, then y value, which are both the same length

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文