Call to undefined method Config\Encryption::creatKey() - 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: Call to undefined method Config\Encryption::creatKey() (/showthread.php?tid=77472) |
Call to undefined method Config\Encryption::creatKey() - pars1997 - 09-05-2020 I read the documentation as wrote my exactly based on the doc. PHP Code: $encrypter = \Config\Services::encrypter(); RE: Call to undefined method Config\Encryption::creatKey() - paulbalandan - 09-06-2020 $key = \CodeIgniter\Encryption\Encryption::createKey(32); RE: Call to undefined method Config\Encryption::creatKey() - pars1997 - 09-13-2020 (09-06-2020, 11:42 AM)paulbalandan Wrote: $key = \CodeIgniter\Encryption\Encryption::createKey(32); Yes. it works, thanks. |