import { Crypto } from "https://deno.land/x/peko@2.1.0/mod.ts";
Crypto class, generates hashes and signs/verifies JWTs using provided key.
Constructors
new
Crypto(key: CryptoKey | string, algData?: AlgData)Properties
key: CryptoKey | string
Static Methods
createCryptoKey(): Promise<CryptoKey>
Create CryptoKey from rawKey string to be used in crypto methods