sanitizeOptions
sanitizeOptions<
T
>(options
):Omit
<T
,"passphrase"
>
Defined in: astrobase/src/encrypt/encrypt.ts:85
Type Parameters
Section titled “Type Parameters”T
extends EncryptOptions
Parameters
Section titled “Parameters”options
Section titled “options”T
The options object to sanitize.
Returns
Section titled “Returns”Omit
<T
, "passphrase"
>
A sanitized version of the given EncryptOptions with sensitive data removed.