U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Library : Other (not classified elsewhere) » md5digest format
Re: md5digest format [message #10282 is a reply to message #10279] Fri, 29 June 2007 12:45 Go to previous messageGo to previous message
atmks is currently offline  atmks
Messages: 33
Registered: July 2006
Member
this code does work, but very ugly Smile

	String x = MD5Digest("alajos");
	String r;
	for(int i = 0; i < x.GetCount(); i++) {
		int a = 0;
		char * ptr = (char*)&a;
		*ptr = x[i];
		r << FormatIntHex(a, 2);
	}
	
	Cout() << r << '\n';

[Updated on: Fri, 29 June 2007 12:48]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ultimate++ and SSH/SFTP ?
Next Topic: GetHomeDirectory() not supported on Windows?
Goto Forum:
  


Current Time: Thu Sep 17 00:59:47 GMT+2 2026

Total time taken to generate the page: 0.00741 seconds