Re: [bme-develop] MD5?
Status: Planning
Brought to you by:
sirmik
|
From: Sir M. <obe...@ho...> - 2004-08-04 08:49:37
|
Hi, >hash is the string the Msn Notification server sent as a challenge. To >respond you have to use this string and concatenate to it a particular >ID code as describe on >http://www.hypothetic.org/docs/msn/notification/pings_challenges.php > >length + 1, that is the way to copy C strings, you get the length of >the string plus 1 to hold the NULL termination byte ( '\0' ). > Ah of course... :D c strings are still a bit weird to me, I want objects :D >This last call is use to tell cryptlib there is no more data to be >appended, note the 0 as length. After this call you can not append more >data to the context. This call finalizes the process and you can now >retrieve the message digest from the context as you see below > Ah ok, nice to know that... >Yes. You have to know that the context variable has to be static. >Otherwise you will get segment violations from cryptlib. You might be >able to use the same function without modification. > > messageDigest(MSPAuth,BString(sl).Append(password).String()); // >???? > >But that would mean to have the code in the same class. Would it help >if we move this function to common.cpp? What would work better? > I think it would! there's no need for duplicating code, and it would be much easier for me to just call a function like that! >Don't know much about the browsers, hope you can find one that works. I >would be great if we could use FireFox, isn't there a way to >communicate with it? Probably not. > > Not yet, I think is the answer to that question, but the guys of the bezilla team are working hard to implement opening of files with mozilla/firefox, that is the functionality I need....automatically opening a temporary file in a javascript capable browser with Launch! regards, Tim _________________________________________________________________ MSN Search, for accurate results! http://search.msn.nl |