Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_nest/modules/jwt/mod.ts>generateUniqueKey

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
function generateUniqueKey
Re-export
import { generateUniqueKey } from "https://deno.land/x/deno_nest@v3.15.1/modules/jwt/mod.ts";

Generate a unique key for HMAC signing

Parameters

secretKey: string

The secret key string

Returns

Promise<CryptoKey>

The CryptoKey object of the key