CnPack Forum


 
Subject: 【RSA加密解密功能无效,解密结果为0】!!!急用
gzhubin (Skywin)
普通灌水员
Rank: 2



UID 41851
Digest Posts 0
Credits 66
Posts 24
点点分 66
Reading Access 10
Registered 2009-2-23
Location 广州
Status Offline
Post at 2025-8-5 11:35  Profile | Site | Blog | P.M.  | QQ
【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 编辑 ]
Top
gzhubin (Skywin)
普通灌水员
Rank: 2



UID 41851
Digest Posts 0
Credits 66
Posts 24
点点分 66
Reading Access 10
Registered 2009-2-23
Location 广州
Status Offline
Post at 2025-8-5 11:41  Profile | Site | Blog | P.M.  | QQ


QUOTE:
原帖由 <i>gzhubin</i> 于 2025-8-5 11:35 发表<br />
CnPack密码算法库20250512,打开自带的demo,cncrypto\Example\Delphi\RSA,其中情况如下:&lt;br /&gt;<br />
1、Int64 RSA,正常;&lt;br /&gt;<br />
2、Big Number RSA,参数全部默认,解决结果为:0,接着,调一下"Modulus Bits" 2024,也 ...

<br />


Image Attachment: Int64 RSA.png (2025-8-5 11:41, 12.94 K)



Image Attachment: Big Number RSA.png (2025-8-5 11:41, 24.87 K)



Image Attachment: Big Number RSA_2.png (2025-8-5 11:41, 26.16 K)

Top
 




All times are GMT++8, the time now is 2025-8-21 00:48

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.007974 second(s), 8 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP