On Tue, 2003-03-18 at 21:14, Scott Fletcher wrote: > Groan, I meant 'Basic' not 'Base'...... > > I am trying to figure out how to encrypt the data using the base only. > > The webserver use the base authentication. I have been searching the PHP > > manual and I only saw base64_encode() but it is not the right algorithm. > > Does anyone know the php function for the Base encryption?
In basic authentication the password goes across the network in plain text and the server therefore has a choice in how it stores the password. There are different ways of doing this usually involving a). DES b). md5 both injected with a bit of salt. Different implementations use different amounts of salt etc. Anyway, the function you are looking for is probably crypt: http://uk.php.net/manual/en/function.crypt.php Regards, Abdul-Wahid -- Abdul-Wahid Paterson Lintrix Networking & Communications ltd. Web: http://www.lintrix.net/ Tel: +44 7801 070621 Email/Jabber: [EMAIL PROTECTED] -------------------------------------------------------------------- Web-Hosting | Development | Security | Consultancy | Domains --------------------------------------------------------------------
signature.asc
Description: This is a digitally signed message part