mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
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:
parent
b883473a6c
commit
fa7b4f5bd1
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ largon2_create_config(lua_State *L)
|
||||||
cfg->m_cost = LUA_ARGON2_DEFAULT_M_COST;
|
cfg->m_cost = LUA_ARGON2_DEFAULT_M_COST;
|
||||||
cfg->parallelism = LUA_ARGON2_DEFAULT_PARALLELISM;
|
cfg->parallelism = LUA_ARGON2_DEFAULT_PARALLELISM;
|
||||||
cfg->hash_len = LUA_ARGON2_DEFAULT_HASH_LEN;
|
cfg->hash_len = LUA_ARGON2_DEFAULT_HASH_LEN;
|
||||||
cfg->variant = Argon2_i;
|
cfg->variant = Argon2_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue