Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Tue May 13 02:05:53 CEST 2025

Total time taken to generate the page: 0.01126 seconds