Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» [BUG]CnBase64解密算法有问题
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: [BUG]CnBase64解密算法有问题
leaker
新警察
UID 43109
Digest Posts 0
Credits 4
Posts 1
点点分 4
Reading Access 10
Registered 2009-8-16
Status Offline
#1
Post at 2010-2-3 17:04
Profile
|
Blog
|
P.M.
[BUG]CnBase64解密算法有问题
加密一个字符串:[
if
] 注意:if后面有一个空格
加密后得到的正确结果[
aWYgIA
]
但当把这个加密结果解密后得到了[
if
] 注意:后面的空格没有了
然后用同样方法测试类似[
else
] 前后都有空格的字符串,得到的结果都好像是被Trim(Result)了一样~丢失了该有的字符串。
还要继续项目~
没有时间看源码分析问题了~
汇报下这里~
希望相关人员注意检查一下~
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#2
Post at 2010-2-4 10:29
Profile
|
Site
|
Blog
|
P.M.
感谢报告
Decode 后确实不应该 Trim,已经修正提交,见:
http://code.google.com/p/cnpack/source/detail?r=411
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 06:24
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.019506 second(s), 7 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