Updated lua-Argon2 to use Argon2_id variant

As recommended in RFC9106:
https://www.rfc-editor.org/rfc/rfc9106.html#name-recommendations
This commit is contained in:
Paul Kulchenko 2021-09-21 22:56:18 -07:00 committed by Justine Tunney
parent b883473a6c
commit fa7b4f5bd1

View file

@ -110,7 +110,7 @@ largon2_create_config(lua_State *L)
cfg->m_cost = LUA_ARGON2_DEFAULT_M_COST;
cfg->parallelism = LUA_ARGON2_DEFAULT_PARALLELISM;
cfg->hash_len = LUA_ARGON2_DEFAULT_HASH_LEN;
cfg->variant = Argon2_i;
cfg->variant = Argon2_id;
}