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
KDF计算出来的结果跟国标文档里算出来的不一致。
The text was updated successfully, but these errors were encountered:
是的。。KDF的结果 t 与文档里不一样,结果 C2 就不一样了:
C1: 04245C26FB68B1DDDDB12C4B6BF9F2B6D5FE60A383B0D18D1C4144ABF17F6252E776CB9264C2A7E88E52B19903FDC47378F605E36811F5C07423A24B84400F01B8 [k]PB: x2=64D20D27D0632957F8028C1E024F6B02EDF23102A566C932AE8BD613A8E865FE, y2=58D225ECA784AE300A81A2D48281A828E1CEDF11C4219099840265375077BF78 KDF result: 7F5445379D07845E56615121AFAF13DF347488 C2: 1A3A2645E477F037390F7152DBCE7DBB5506EC C3: 9C3D7360C30156FAB7C80A0276712DA9D8094A634B766D3A285E07480653426D 密文: 04245C26FB68B1DDDDB12C4B6BF9F2B6D5FE60A383B0D18D1C4144ABF17F6252E776CB9264C2A7E88E52B19903FDC47378F605E36811F5C07423A24B84400F01B81A3A2645E477F037390F7152DBCE7DBB5506EC9C3D7360C30156FAB7C80A0276712DA9D8094A634B766D3A285E07480653426D
Sorry, something went wrong.
BigInteger转byte数组是一个问题;另外计算KDF之前,kpbBytes最前面的04要去掉。
No branches or pull requests
KDF计算出来的结果跟国标文档里算出来的不一致。
The text was updated successfully, but these errors were encountered: