-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TODO #2
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Improve key derivation :
https://github.com/lambirou/babiphp/blob/master/system/Utils/CryptTrait.php#L131
https://github.com/yiisoft/yii-core/blob/master/src/base/Security.php#L266
https://github.com/narfbg/SimpleEncryption/blob/master/src/Secret.php#L245
https://github.com/defuse/php-encryption/blob/0d4d27c368ca6798bc162469e43248c363c73495/src/KeyOrPassword.php#L58
https://github.com/defuse/php-encryption/blob/0d4d27c368ca6798bc162469e43248c363c73495/src/Crypto.php#L257
https://github.com/fuel/core/blob/0a7931b9acd9b6cbb7abca393c5044b04668f596/classes/crypt.php
Check openssl module :
if (!extension_loaded('openssl')) {
throw new InvalidConfigException('Encryption requires the OpenSSL PHP extension');
}
Vérifier que la méthode random_bytes() existe (car elle date de php 7.0). idem pour la méthode mb_substr() qui doit avoir l'extension d'installé !!!
The text was updated successfully, but these errors were encountered: