fgtclb / sodium-support
Add support for sodium package and argon2di auth library
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Type:typo3-cms-extension
pkg:composer/fgtclb/sodium-support
Requires
- ext-sodium: *
- typo3/cms-core: ^9.5 || ^10.4 || ^11.0
This package is not auto-updated.
Last update: 2025-10-11 09:18:44 UTC
README
What does it do?
It adds support for the php crypto library sodium. This library provides several hash algorithms.
This extension will use the argon2id password hashing (RFC)
Installation
Install the extension via composer:
composer require fgtclb/sodium-support
Dependencies
This extension needs the PHP extension "sodium" to be installable.
Usage
The extension automatically activates this hashing algorithm for FE and BE passwords.
You don't need to do anything.
Use another algorithm
If you want to use another algorithm, please change the lines for FE and/or BE to the algorithm to use:
$GLOBALS['TYPO3_CONF_VARS']['FE']['passwordHashing']['className'] = \Fgtclb\SodiumSupport\Crypto\PasswordHashing\SodiumPasswordHash::class;
$GLOBALS['TYPO3_CONF_VARS']['BE']['passwordHashing']['className'] = \Fgtclb\SodiumSupport\Crypto\PasswordHashing\SodiumPasswordHash::class;
If you don't use this algorithm for none of them, you can easily remove this extension.