4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 crypt() function different results
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
roger
Junior WebHelper
Junior WebHelper


Joined: 22 Sep 2005
Posts: 1

PostPosted: Thu Sep 22, 2005 6:41 pm (12 years, 2 months ago) Reply with QuoteBack to Top

Hi,

I run a crypt() function and i get nack a MD5 encruption, instead of a standrad DES which would be just 13 characters.

Is there a way to modify the crypt() function to get standrda DES encryption?

thanks Shocked
OfflineView User's ProfileFind all posts by rogerSend Personal Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Fri Sep 23, 2005 9:42 am (12 years, 2 months ago) Reply with QuoteBack to Top

Take a look at http://uk.php.net/manual/en/function.crypt.php It seems that the crypt() function determines the algorithm to use by looking at the length of the salt you provide.

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.05705 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme