Skip to main content
Provides a synchronous variant of scrypt. This will completely lock up and freeze the UI in a browser and will prevent any event loop from progressing. For this reason, it is preferred to use the async variant.

Parameters

Returns

string The key derived from the password.

Example

Source

crypto/scrypt.ts:153