Skip to main content
Return the PBKDF2 for 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

Returns

string The key derived from the password.

Example

Source

crypto/pbkdf2.ts:55