KdfOptions
Defined in: envelope.ts:37
Properties
Section titled “Properties”argon2?
Section titled “argon2?”
optionalargon2?:Argon2Params
Defined in: envelope.ts:41
Cost for a new password protector. Default DEFAULT_ARGON2; never below it.
argon2id?
Section titled “argon2id?”
optionalargon2id?:Argon2idImpl
Defined in: envelope.ts:39
Faster Argon2id; the pure-JS one is used otherwise (and always works to open a backup).
onProgress?
Section titled “onProgress?”
optionalonProgress?: (progress) =>void
Defined in: envelope.ts:43
Progress 0…1 of the pure-JS Argon2id, for a progress bar.
Parameters
Section titled “Parameters”progress
Section titled “progress”number
Returns
Section titled “Returns”void