Skip to content

Instantly share code, notes, and snippets.

Created Jul 6, 2017
What would you like to do?
Argon2 Password Hash
// Argon2i com fatores de custo padrão
password_hash('password', PASSWORD_ARGON2I);
// Argon2i com fatores de custo personalizados
password_hash('password', PASSWORD_ARGON2I, ['memory_cost' => 1<<17, 'time_cost' => 4, 'threads' => 2]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment