4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu
Please consider registering: registration is fast, easy and free! Benefits of registration:
  • Free advertising for your website: Every post in our forums goes towards a "credit" of ads, which are displayed on most pages of our forums. Each post gives you 400 ad impressions. To submit your ad, edit your profile.
  • Discount at TemplateMonster: All our members enjoy a 10% discount at TemplateMonster.com!
  • Private Messages: Exchange private messages with other members of the forums.
  • Message Tracking/Subscription: phpBB enables you to subscribe to threads which interest you, and will then email you when a reply is posted. phpBB also remembers which posts registered users have read during a session, which means you can keep track of which posts you have already looked at.

 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 (7 years, 8 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: 858
Location: UK

PostPosted: Fri Sep 23, 2005 9:42 am (7 years, 8 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.085104 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme