mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
13 lines
517 B
Plaintext
13 lines
517 B
Plaintext
{
|
|
"bcrypt": {
|
|
"genSaltSync": "fn(rounds?: number) -> string",
|
|
"genSalt": "fn(rounds: number, callback: fn(err: Error, salt: string))",
|
|
"hashSync": "fn(data: ?, salt: string) -> string",
|
|
"hash": "fn(data: ?, salt: string, callback: fn(err: Error, encrypted: string))",
|
|
"compareSync": "fn(data: ?, encrypted: string) -> bool",
|
|
"compare": "fn(data: ?, encrypted: string, callback: fn(err: Error, same: bool))",
|
|
"getRounds": "fn(encrypted: string) -> number"
|
|
},
|
|
"!name": "bcrypt.d.ts"
|
|
}
|