import { generateSecret } from "https://deno.land/x/jose@v5.2.0/key/generate_secret.ts";
Generates a symmetric secret key for a given JWA algorithm identifier.
Note: Under Web Crypto API runtime the secret key is generated with extractable
set to false
by default.
Parameters
optional
options: GenerateSecretOptionsAdditional options passed down to the secret generation.
Returns
Promise<KeyLikeType | Uint8Array>