Search found 2 matches

by paulubz
Tue Mar 04, 2008 4:52 am
Forum: PHP - Security
Topic: Is this function safe?
Replies: 2
Views: 703

Re: Is this function safe?

Okay, the code, using the CRYPT_STD_DES version goes like this:

Code: Select all

 
<?php 
$mypassword = crypt('mypasswordhere' , 'd4');
?>
 
Then I store this password into the database. How safe is it?
by paulubz
Mon Mar 03, 2008 6:52 am
Forum: PHP - Security
Topic: Is this function safe?
Replies: 2
Views: 703

Is this function safe?

Is the crypt() function safe? If so, how do i use it? If not, any better?