Argon2::Engine
Class methods
Verifies a password using Argon2d against an encoded string @param password string @param encoded string (output from has_argon2d_encode) Returns ARGON2_OK if successful
Verifies a password using Argon2i against an encoded string @param password string @param encoded string (output from has_argon2i_encode) Returns ARGON2_OK if successful
Verifies a password using Argon2id against an encoded string @param password string @param encoded string (output from has_argon2id_encode) Returns ARGON2_OK if successful
Generate a random hex salt string - defaults to default length recommended by the argon2 spec
Hashes a password with Argon2d, producing an encoded hash @param password string @param salt string @param t_cost Number of iterations @param m_cost Sets memory usage to m_cost kibibytes
Hashes a password with Argon2d, producing a raw hash @param password string @param salt string @param t_cost Number of iterations @param m_cost Sets memory usage to m_cost kibibytes
Hashes a password with Argon2i, producing an encoded hash @param password string @param salt string @param t_cost Number of iterations @param m_cost Sets memory usage to m_cost kibibytes
Hashes a password with Argon2i, producing a raw hash @param password string @param salt string @param t_cost Number of iterations @param m_cost Sets memory usage to m_cost kibibytes
Hashes a password with Argon2id, producing an encoded hash @param password string @param salt string @param t_cost Number of iterations @param m_cost Sets memory usage to m_cost kibibytes
Hashes a password with Argon2id, producing a raw hash @param password string @param salt string @param t_cost Number of iterations @param m_cost Sets memory usage to m_cost kibibytes