Add Crypt based password functions

This commit is contained in:
2025-01-18 21:47:49 +11:00
parent d3d7881e3b
commit 2445cac6a6
14 changed files with 180 additions and 938 deletions

View File

@@ -5,7 +5,7 @@ namespace App\Classes\LDAP\Attribute\Password;
final class Argon2i extends Base
{
public const key = 'ARGON2';
protected const subkey = 'i';
protected const subkey = 'argon2i';
protected const identifier = '$argon2i';
public static function subid(string $password): bool