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

x/deno_nest/modules/jwt/src/jwt.utils.ts>generateUniqueKey

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

Generate a unique key for HMAC signing

Parameters

secretKey: string

The secret key string

Returns

Promise<CryptoKey>

The CryptoKey object of the key