What is difference in CodeIgniter sha1 and normal PHP sha1?
For example:
$codeigniter_hashed = $this -> encrypt -> sha1( "test" );
And
$normal_hashed = sha1("test");
Both will return same values.
Where does CodeIgniter uses encryption_key?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If your PHP installation doesn’t have sha1 installed, you can use the CI version. If your PHP installation already has it, you don’t need to use the CI function.
From the user guide:
More info: http://codeigniter.com/user_guide/libraries/encryption.html