Encrypt in CI, decrypt in Python - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Encrypt in CI, decrypt in Python (/showthread.php?tid=63852) |
Encrypt in CI, decrypt in Python - Sentro - 12-15-2015 Hello, I've been struggling with these the past day. I'm encrypting some passwords in CI using an encryption key. What i want is to be able to decrypt those and get the original passwords from python. I've found a library but i really couldn't get it to work ( and since it's latest update was 3 years ago i'm starting to think i lost my time too there ). Library is HERE Anyway i was hoping maybe if there's someone that has something similar to this at least to get me started. I did an echo of the params the encryption library is using. I can always change those if required but i'd prefer not to. PHP Code: testpassword I know by default it's using aes-256 and mcrypt but played around them too and got nothing. Also i started using the PHP Code: $config['encryption_key'] = hex2bin('ce3399bb4cf3dc5a679c7f265a054808'); ANY help is appreciated. Thank you RE: Encrypt in CI, decrypt in Python - arma7x - 12-15-2015 Don't encrypts password using CI Encryption Library. |