The buffer source containing the key data.
A promise that resolves with the imported key.
import { importKey } from '@nexterias/hono-cookie-signature'
const secret = await importKey(new TextEncoder().encode('THIS_IS_ULTRA_HYPER_SECRET_KEY'))
console.log(secret)
Generated using TypeDoc
Imports a key from a buffer source.