
Subject: 【RSA加密解密功能无效,解密结果为0】!!!急用 [Print This Page]
Author:
gzhubin Time: 2025-8-5 11:35 Subject: 【RSA加密解密功能无效,解密结果为0】!!!急用
CnPack密码算法库20250512,打开自带的demo,cncrypto\Example\Delphi\RSA,其中情况如下:<br />
1、Int64 RSA,正常;<br />
2、Big Number RSA,参数全部默认,解决结果为:0,接着,调一下"Modulus Bits" 2024,也一样(因为我要用到2048);<br />
多年以后,好久好久,没有来论坛了。delphi RSA很麻烦,所以,麻烦处理一下,看是怎么回事,急用!跟java交互要用到,LockBox2又不支持2048位。。。
PS:还有一个问题,就是,Generate RSA Keys 时,2048,好慢,好像有个什么CRT加速的?不过,功能不行,所以,看了也白看。
[ 本帖最后由 gzhubin 于 2025-8-5 11:38 编辑 ]
Author:
gzhubin Time: 2025-8-5 11:41
原帖由 <i>gzhubin</i> 于 2025-8-5 11:35 发表<br />
CnPack密码算法库20250512,打开自带的demo,cncrypto\Example\Delphi\RSA,其中情况如下:<br /><br />
1、Int64 RSA,正常;<br /><br />
2、Big Number RSA,参数全部默认,解决结果为:0,接着,调一下"Modulus Bits" 2024,也 ...
<br />
Image Attachment:
Int64 RSA.png (2025-8-5 11:41, 12.94 K) / Download count 12
http://bbs.cnpack.org/attachment.php?aid=1196
Image Attachment:
Big Number RSA.png (2025-8-5 11:41, 24.87 K) / Download count 11
http://bbs.cnpack.org/attachment.php?aid=1197
Image Attachment:
Big Number RSA_2.png (2025-8-5 11:41, 26.16 K) / Download count 10
http://bbs.cnpack.org/attachment.php?aid=1198
Welcome to CnPack Forum (http://bbs.cnpack.org/) |
Powered by Discuz! 5.0.0 |