Eloquent Argon2 Password Hasher

A secure password hashing solution built using PHP's Argon2i algorithm.

Overview

The Eloquent Argon2 Password Hasher provides an easy-to-use interface for generating and verifying passwords using the Argon2i algorithm. This approach offers strong security by incorporating a work factor that increases the time required for brute force attacks.

Features

Usage Example

                Hashed password: {$hash}

"; $verified = argon2iVerify($password, $hash, NULL, $workFactor); echo "

Password verified: " . ($verified ? "Yes" : "No") . "

"; ?>

How to Use

  1. Ensure you have access to the `argon2i` function from the PHP standard library.
  2. Pass your plaintext password to the function along with the work factor.
  3. Use the returned hash value for storage or comparison.

Security Best Practices

Contact Us

If you have questions about our implementation, feel free to reach out via email at: security@example.com.