mirror of
https://github.com/logto-io/logto.git
synced 2025-04-14 23:11:31 -05:00
fix(core): fix lint error
fix lint error
This commit is contained in:
parent
42efe20946
commit
1770f09af5
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ import { argon2i } from 'hash-wasm';
|
|||
* This method follows the recommended configuration settings from the [OWASP Password Storage Cheat Sheet](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Password_Storage_Cheat_Sheet.md?utm_source=chatgpt.com#argon2id),
|
||||
* balancing CPU and memory usage while providing a high level of security.
|
||||
*/
|
||||
// eslint-disable-next-line import/no-unused-modules -- dynamic import by node worker
|
||||
export default async function argon2iEncrypt(password: string): Promise<string> {
|
||||
return argon2i({
|
||||
password,
|
||||
|
|
Loading…
Add table
Reference in a new issue