String STR="I Love You";
The MessageDigest digest=new MessageDigest (" md5 ");
Byte [] buf=digest. Digest (STR) getbyte ());
BASE64Encoder encoder=new BASE64Encoder ();
String str2=encoder. The encoder (buf);
System.out.println(str2);
CodePudding user response:
DELPHI:
USES NetEncoding;
Var
Str: String;
The Begin
Str:='Hello Delphi;
Showmessage (TNetEncoding Base64 Encode (Str));
End;
CodePudding user response:
Support the building of a code,,,,,,,