CodeIgniter Forums

Full Version: Decrypt of encryption Codeigniter library's use javascript
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a string of results encrypt encryption Codeigniter library's.
How can I use javascript to decrypt?
This is my setup:
$ Autoload ['libraries'] = array ('encryption');
$ Config ['encryption_key'] = '123456789';
$ Password_encrypted = $ this-> encryption-> encrypt ($ password);
I want to decrypt $password_encrypted uses javascript.
Can it be done?
Don't use encryption for hash password, use password_hash() or appropriate method for hashing password.
(03-04-2016, 01:39 PM)arma7x Wrote: [ -> ]Don't use encryption for hash password, use password_hash() or appropriate method for hashing password.

OK I will try it
what a difference using encryption to encrypt passwords and password_hash ()?