History log of /dokuwiki/inc/PassHash.php (Results 1 – 23 of 23)
Revision Date Author Comments
# 07a871e6 25-Jun-2024 Andreas Gohr <[email protected]>

Support Woltlab password hashes

The Woltlab forum software uses bcrypt passwords, but prefixes them with
"Bcrypt:". This adds support for this in our PassHash class.


# dfaf0747 13-Mar-2024 Andreas Gohr <[email protected]>

Support b and x variants for bcrypt hashes

Prompted by https://forum.dokuwiki.org/d/22108-authpdo-with-postgres-and-lemmy/3

As stated on https://stackoverflow.com/a/36225192

> there is no differen

Support b and x variants for bcrypt hashes

Prompted by https://forum.dokuwiki.org/d/22108-authpdo-with-postgres-and-lemmy/3

As stated on https://stackoverflow.com/a/36225192

> there is no difference between 2, 2a, 2x, 2y, and 2b. If you wrote your
> implementation correctly, they all output the same result.

show more ...


# 6c16a3a9 14-Sep-2023 fiwswe <[email protected]>

Use str_starts_with/str_ends_with


# d4f83172 31-Aug-2023 Andreas Gohr <[email protected]>

code style: line breaks


# 90fb952c 31-Aug-2023 Andreas Gohr <[email protected]>

code style: operator spacing


# 4b230b99 31-Aug-2023 Andreas Gohr <[email protected]>

code style: indent fixes


# 177d6836 31-Aug-2023 Andreas Gohr <[email protected]>

coding style: control flow whitespaces


# ed823bcd 30-Aug-2023 Andreas Gohr <[email protected]>

codestyle adjustments: PHP constant casing


# d868eb89 30-Aug-2023 Andreas Gohr <[email protected]>

codestyle adjustments: function declaration braces/spaces


# 8c7c53b0 30-Aug-2023 Andreas Gohr <[email protected]>

codestyle adjustments: class declaration braces


# c1482d1c 30-Aug-2023 Andreas Gohr <[email protected]>

codestyle adjustments: function argument spacing


# c24231d1 29-Aug-2023 Andreas Gohr <[email protected]>

fix Cannot use assign-op operators with string offsets

prevent rector from rewriting this into an auto-assignment.


# 24870174 29-Aug-2023 Andreas Gohr <[email protected]>

Apply rector fixes to the rest of inc


# 0b63e09a 16-Sep-2021 Andreas Gohr <[email protected]>

fix named access to the sha hashing mechanisms


# 1c7f6650 01-Aug-2021 Jan Baier <[email protected]>

Add support for SHA256 encrypted passwords

Enable detection of SHA256 hashes (prefixed with $5$) and allow to
use this hashing schemes in passwords.


# b98368cc 16-Aug-2019 Schplurtz le Déboulonné <[email protected]>

fix typo in phpdoc comment


# 862a2eae 10-Jun-2019 Schplurtz le Déboulonné <[email protected]>

fix missing $ in variable use


# 0f43ea44 10-Jun-2019 Schplurtz le Déboulonné <[email protected]>

add drupal and seafile hash methods


# b9b08db0 09-Jan-2020 Christian Marg <[email protected]>

removed unused 'salt' parameter from function definition...


# 38a4a86e 09-Jan-2020 Christian Marg <[email protected]>

Added password change support for argon2i/argon2id, added matching config options and hash_X functions


# 1f993c33 09-Jan-2020 Christian Marg <[email protected]>

Added support for argon2i and argon2id password hashes to PassHash.php using php's own password_verify function.


# 2401f18d 30-Oct-2019 Syntaxseed <[email protected]>

Fix curly brace syntax. PHP 7.3 deprecations in inc/ directory.


# c3cc6e05 06-Mar-2019 Andreas Gohr <[email protected]>

PSR2 adjustments for the PassHash class

I opted for ignoring the camel case funtion check not because the public hash_*
methods are widely used but because I find this style actually cleaner
in this

PSR2 adjustments for the PassHash class

I opted for ignoring the camel case funtion check not because the public hash_*
methods are widely used but because I find this style actually cleaner
in this case where the method name is auto-built from the hash type
name.

show more ...