Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 788 Bytes

GenerateSecretOptions.md

File metadata and controls

18 lines (10 loc) · 788 Bytes

Interface: GenerateSecretOptions

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.

Secret generation function options.

Properties

extractable?

optional extractable: boolean

The value to use as SubtleCrypto.generateKey extractable argument. Default is false.

Note: Because A128CBC-HS256, A192CBC-HS384, and A256CBC-HS512 secrets cannot be represented as CryptoKey this option has no effect for them.