Home > Back-end >  A character conversion in Java code, what function in Delphi?
A character conversion in Java code, what function in Delphi?

Time:10-18

 String mySign=MD5. MD5Encode (strSource. The toString (), "utf-8"); 


Is what people call for Java example above in the string to interface to a character encoding, and then the md5 encryption code,
In the delphi7, string type, what kind of function to transform coding format?

CodePudding user response:

Delphi indy has own MD5 encryption, you may have a look whether suitable for you, reference and down link below

With Delphi's own Indy control to realize the MD5 encryption
http://www.jiandande.com/html/bianchengjiqiao/Delphijiqiao/2011/0104/714.html

CodePudding user response:

http://bbs.csdn.net/topics/350246285
Sanguomi provide the md5 custom class is also quite good,

CodePudding user response:

The code that is what I want is to turn the utf8 Delphi correlation function,
Md5 encryption part, I have

CodePudding user response:

 
Var
SMd5: WideString;
The begin
SMd5:=UTF8Encode (' access to the MD5 unicode string ');
end;

CodePudding user response:

UTF8Decode ();
UTF8Encode ();
  • Related