Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» cnmd5发现在delphi xe有问题,转向采用自带的MessageDigest_5.pas。
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: cnmd5发现在delphi xe有问题,转向采用自带的MessageDigest_5.pas。
mrlong
新警察
UID 2268
Digest Posts 0
Credits 12
Posts 5
点点分 12
Reading Access 10
Registered 2006-6-16
Status Offline
#1
Post at 2011-8-18 21:59
Profile
|
Site
|
Blog
|
P.M.
cnmd5发现在delphi xe有问题,转向采用自带的MessageDigest_5.pas。
MessageDigest_5.pas 在 C:\Program Files\Embarcadero\RAD Studio\8.0\source\soap\wsdlimporter 下面
uses
Types,
MessageDigest_5;
function MD5Str(AStr:string):string;
var
MD5: IMD5;
begin
MD5 := GetMD5;
MD5.Init;
MD5.Update(TByteDynArray(RawByteString(AStr)), Length(AStr));
Result := LowerCase(MD5.AsString);
end;
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-23 20:42
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.009796 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