We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
确实会出现解密不出来的情况,在大佬的帮助下解决了; 在 Reset 方法 和 Encrypt 方法处 进行补位操作
The text was updated successfully, but these errors were encountered:
老哥,能不能把具体补位的方式给发一下
Sorry, something went wrong.
不好意思时间有点久忘记了 我上传了个demo 你可以试一试
Encrypt方法,在Dofinal之后,在对C1的X和Y坐标转换成16进制之后,如果不足时64个16进制字节时各自补前导"0"。 Reset方法处理X/Y坐标时增加长度参数: //var xWords = this.GetWords(this.p2.getX().toBigInteger().toRadix(16)); //var yWords = this.GetWords(this.p2.getY().toBigInteger().toRadix(16)); var xWords = this.GetWords(this.p2.getX().toBigInteger().toRadix(16), 32); var yWords = this.GetWords(this.p2.getY().toBigInteger().toRadix(16), 32);
No branches or pull requests
确实会出现解密不出来的情况,在大佬的帮助下解决了;
在 Reset 方法 和 Encrypt 方法处 进行补位操作
The text was updated successfully, but these errors were encountered: