<div>Dear: </div>
<div> I am afraid you may have mistakely send me the Email.Because I'm not Rémi.I am a student from China:)Check you address and make sure about it.</div>
<div> Best regards</div>
<div> Zaiyi Lv from Shanghai China<br><br> </div>
<div><span class="gmail_quote">2006/3/13, Son Minh Tran <<a href="mailto:son-minh.tran@int-evry.fr">son-minh.tran@int-evry.fr</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Dear Rémi Denis-Courmont,<br>Thank you for the hint. I didn,t know that vlc also has its own md5<br>implementation. But it is just a "not so strong MD5 hashing" as written
<br>in the md5.c file. The one I used is from live555 and at least it is<br>not noted with that :-)<br>Anyway my first try to use the md5 of vlc failed. I will try to figure<br>it out. And I will try to make use of it in the RTSP authentication
<br>soon. In any case, the object file of the md5 from live555 is already<br>included in vlc. So it is not because of my implementation, we have<br>duplication of the md5 in vlc.<br>Best regards<br><br>Rémi Denis-Courmont a écrit :
<br>> Le Jeudi 9 Mars 2006 16:19, Son Minh Tran a écrit :<br>><br>>> About the md5.c, it is originally for live555 project under<br>>> the name our_md5.c Its object file is already compiled into the<br>
>> libliveMedia.a, but the header file is not found there in the<br>>> acssociated include directory. Therefore when you recompile vlc, you<br>>> only need the header file. Otherwise you will get redefinition error.
<br>>> Anyway you can find it in the source code of MDPassword project.<br>>> The source code of MDPassword is written for VC6.<br>>><br>><br>> VLC has its own built-in MD5 implementation, that should probably be
<br>> used instead. Typical usage follows:<br>><br>> #include "vlc_md5.h"<br>><br>> /* ... */<br>> struct md5_s hash;<br>><br>> InitMD5( &hash );<br>><br>> for (;;)<br>> AddMD5( &hash, data, data_size );
<br>><br>> EndMD5( &hash );<br>> fprintf( stderr, "MD5 hash: %08X%08X%08X%08X\n",<br>> hash.p_digest[0],<br>> hash.p_digest[1],<br>> hash.p_digest[2],<br>>
hash.p_digest[3] );<br>><br>><br>><br><br>--<br>This is the streaming mailing-list, see <a href="http://www.videolan.org/streaming/">http://www.videolan.org/streaming/</a><br>To unsubscribe, please read <a href="http://www.videolan.org/support/lists.html">
http://www.videolan.org/support/lists.html</a><br><br></blockquote></div><br>