참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
keylen bytes for password using the salt and
using iterations of algo.
This PBKDF is outdated and should not be used in new projects, but is required to decrypt older files.
Parameters
| Parameter | Type | Description |
|---|---|---|
_password | BytesLike | The password to use. |
_salt | BytesLike | The salt to use. |
iterations | number | The number of iterations to use. |
keylen | number | The length of the key to generate. |
algo | "sha256" | "sha512" | The algorithm to use. |
Returns
string
The key derived from the password.
