Does anyone know the best way to generate an md5 digest in mailnews?  I
see two instances where it is done:

 - in mailnews/imap/src/nsImapProtocol.cpp, there is a reference to
loading an md5 algorithm through nsIKeyedHashAlgorithm;  it is #ifdefed
out though, and nsIKeyedHashAlgorithm.{h,idl} isn't in the source tree,
so I assume this is something that was started and not finished, or
something pulled out due to cryptographic political concerns

 - in mailnews/base/src/nsMsgMD5.cpp, there is an implementation;  it
looks like this one is special purpose though, and there isn't an
interface to access it from other components

So what is the recommended way to create a digest?  Should I go ahead
and create nsIMsgMD5.idl?  Is nsIKeyedHashAlgorithm eventually going to
make it back into the tree?
begin:vcard 
n:Taylor;Andrew
tel;fax:(403) 265-4462
tel;work:(403) 303-2000
x-mozilla-html:FALSE
url:http://www.montage.ca
org;quoted-printable:Montage eIntegration;Strategy, Analysis,=0D=0Aand Design Team
org:Montage eIntegration;Strategy, Analysis, and Design Team
adr:;;Suite 350, 708 Electric Ave SW;Calgary;Alberta;T2R 0E4;Canada
version:2.1
email;internet:[EMAIL PROTECTED]
title:Consultant
note:ICQ#: 18373057
x-mozilla-cpt:;-6400
fn:Andrew Taylor
end:vcard

Reply via email to