I have read this in many times : http://www.grocerycr...tiondecryption/ [EXAMPLE] Password field and password encryption/decryption
But when i post a new record, the password isn't encrypted with md5, and i don't know what kind method of that (sha1, or ??)
on my config.php file i write this :
$config['encryption_key'] = "md5";
i think that's right.
so what is the problem..?
one more, could you explain this part..?
function encrypt_password_callback($post_array, $primary_key = null)
{
$this->load->library('encrypt');
$key = 'super-secret-key';
$post_array['password'] = $this->encrypt->encode($post_array['password'], $key);
return $post_array;
}
what is 'super-secret-key' ? what if i change it with md5..?
thank you and sorry for my bad english...


1 reply to this topic
Also tagged with one or more of these keywords: password, md5, encrypt
Support →
Grocery CRUD Enterprise →
Confirm Password field in Add FormStarted by adshung, 31 Jan 2018 ![]() |
|
![]() |
||
Support →
I have a question →
Confirm Password always not match with PasswordStarted by lordlaw, 17 Jan 2016 ![]() |
|
![]() |
||
Support →
Bugs / Issues →
matches - rarely problemStarted by kenshicu, 12 Feb 2014 ![]() |
|
![]() |
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users