You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use a different encryption key permanently, pass a custom config when creating the service:
160
+
161
+
.. code-block:: php
162
+
163
+
$config = config('Encryption');
164
+
$config->key = 'your-custom-encryption-key';
165
+
166
+
// Get a new handler instance with the custom config (not shared)
167
+
$handler = service('encrypter', $config, false);
168
+
114
169
Interface Changes
115
170
=================
116
171
@@ -254,6 +309,8 @@ Changes
254
309
Deprecations
255
310
************
256
311
312
+
- **Encryption:**
313
+
- The method ``CodeIgniter\Encryption\Handlers\SodiumHandler::parseParams()`` has been deprecated. Parameters are now handled directly in ``encrypt()`` and ``decrypt()`` methods.
257
314
- **Image:**
258
315
- The config property ``Config\Image::libraryPath`` has been deprecated. No longer used.
259
316
- The exception method ``CodeIgniter\Images\Exceptions\ImageException::forInvalidImageLibraryPath`` has been deprecated. No longer used.
0 commit comments