Crypt::encode("anything", 'R@nd0mK~Y')
my config/crypt.php looks like :
...
'sodium' =>
array(
'cipherkey' => '2235d0eb55e72d0d60e6cebdb08168be4ce7f9502cc3faca0f8f7c1907f46ff6',
),
...
here is the full error :
hex2bin() only expects hexadecimal characters
VENDORPATH/paragonie/sodium_compat/src/Core/Util.php @ line 343
VENDORPATH/paragonie/sodium_compat/src/Compat.php @ line 2472
VENDORPATH/paragonie/sodium_compat/lib/php72compat.php @ line 944
COREPATH/classes/crypt.php @ line 481
COREPATH/classes/crypt.php @ line 153
APPPATH/views/chatbox/settings.php @ line 145
APPPATH/views/chatbox/settings.php @ line 145
COREPATH/classes/view.php @ line 258
COREPATH/classes/view.php @ line 274
COREPATH/classes/view.php @ line 680
COREPATH/classes/view.php @ line 227
COREPATH/classes/response.php @ line 382
DOCROOT/index.php @ line 117
It looks like you're new here. If you want to get involved, click one of these buttons!