[streaming] Re: [Fwd: Re: VoD with authentication]

载怡吕 lilelaly at gmail.com
Mon Mar 13 15:33:31 CET 2006


Dear:
       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.
       Best regards

Zaiyi Lv from Shanghai China


2006/3/13, Son Minh Tran <son-minh.tran at int-evry.fr>:
>
> Dear Rémi Denis-Courmont,
> Thank you for the hint. I didn,t know that vlc also has its own md5
> implementation. But it is just a "not so strong MD5 hashing" as written
> in the md5.c file. The one I used is from live555 and at least it is
> not  noted  with that :-)
> Anyway my first try to use the md5 of vlc failed. I will try to figure
> it out. And I will try to make use of it in the RTSP authentication
> soon. In any case, the object  file  of the md5 from live555 is already
> included in vlc. So  it is not because  of my implementation, we have
> duplication of the md5 in vlc.
> Best regards
>
> Rémi Denis-Courmont a écrit :
> > Le Jeudi 9 Mars 2006 16:19, Son Minh Tran a écrit :
> >
> >> About the md5.c, it is originally for live555 project under
> >> the name our_md5.c Its object file  is already  compiled  into the
> >> libliveMedia.a, but the header file is not found there in the
> >> acssociated include directory. Therefore when you recompile vlc, you
> >> only need the header file. Otherwise you will get redefinition error.
> >> Anyway you can find it in the source code of MDPassword project.
> >> The source code of MDPassword is written for VC6.
> >>
> >
> > VLC has its own built-in MD5 implementation, that should probably be
> > used instead. Typical usage follows:
> >
> > #include "vlc_md5.h"
> >
> > /* ... */
> > struct md5_s hash;
> >
> > InitMD5( &hash );
> >
> > for (;;)
> >       AddMD5( &hash, data, data_size );
> >
> > EndMD5( &hash );
> > fprintf( stderr, "MD5 hash: %08X%08X%08X%08X\n",
> >          hash.p_digest[0],
> >          hash.p_digest[1],
> >          hash.p_digest[2],
> >          hash.p_digest[3] );
> >
> >
> >
>
> --
> This is the streaming mailing-list, see http://www.videolan.org/streaming/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/streaming/attachments/20060313/be56b753/attachment.htm 


More information about the streaming mailing list