Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» 【RSA加密解密功能无效,解密结果为0】!!!急用
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 【RSA加密解密功能无效,解密结果为0】!!!急用
gzhubin
(Skywin)
普通灌水员
UID 41851
Digest Posts 0
Credits 66
Posts 24
点点分 66
Reading Access 10
Registered 2009-2-23
Location 广州
Status Offline
#1
Post at 2025-8-5 11:35
Profile
|
Site
|
Blog
|
P.M.
|
【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 编辑
]
gzhubin
(Skywin)
普通灌水员
UID 41851
Digest Posts 0
Credits 66
Posts 24
点点分 66
Reading Access 10
Registered 2009-2-23
Location 广州
Status Offline
#2
Post at 2025-8-5 11:41
Profile
|
Site
|
Blog
|
P.M.
|
QUOTE:
原帖由 <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)
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)
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
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
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats