You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`interruptStep` — (optional) steps to split calculation with timeouts (defaults to 0)
69
+
*`interruptStep` — (optional) the amount of loop cycles to execute before the next setImmediate/setTimeout (defaults to 0)
70
70
*`encoding` — (optional) result encoding `'base64'` or `'hex'` (result with be a `string`), `'binary'` (result will be a `Uint8Array`) or undefined (result will be an `Array` of bytes).
71
71
72
72
#### Example:
@@ -96,7 +96,7 @@ Legacy API doesn't support parallelization parameter greater than 1.
96
96
**logN* — CPU/memory cost parameter (1 to 31)
97
97
**r* — block size parameter
98
98
**dkLen* — length of derived key
99
-
**interruptStep* — (optional) steps to split calculation with timeouts (defaults to 1000)
99
+
**interruptStep* — (optional) the amount of loop cycles to execute before the next setImmediate/setTimeout (defaults to 1000)
100
100
**callback* — callback function receiving result (`function (Array|Uint8Array|string)`)
101
101
**encoding* — (optional) result encoding (`'base64'`, `'hex'`, `'binary'` or undefined).
0 commit comments