import { generateSecret } from "https://dotland.deno.dev/x/jose@v5.9.6/index.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.
This function is exported (as a named export) from the main 'jose'
module entry point as well
as from its subpath export 'jose/generate/secret'
.
Returns
Promise<KeyLikeType | Uint8Array>