| 1: | <?php |
| 2: | |
| 3: | declare(strict_types=1); |
| 4: | |
| 5: | /** |
| 6: | * This file is part of the Nexus framework. |
| 7: | * |
| 8: | * (c) John Paul E. Balandan, CPA <paulbalandan@gmail.com> |
| 9: | * |
| 10: | * For the full copyright and license information, please view |
| 11: | * the LICENSE file that was distributed with this source code. |
| 12: | */ |
| 13: | |
| 14: | namespace Nexus\Password; |
| 15: | |
| 16: | enum Algorithm: string |
| 17: | { |
| 18: | case Argon2i = PASSWORD_ARGON2I; |
| 19: | case Argon2id = PASSWORD_ARGON2ID; |
| 20: | case Bcrypt = PASSWORD_BCRYPT; |
| 21: | case Pbkdf2HmacSha1 = 'sha1'; |
| 22: | case Pbkdf2HmacSha256 = 'sha256'; |
| 23: | case Pbkdf2HmacSha512 = 'sha512'; |
| 24: | case Sodium = 'sodium'; |
| 25: | } |
| 26: |