import { Crypto } from "https://deno.land/x/peko@2.0.0/mod.ts";
Crypto class, generates hashes and signs and verifies JWTs using CyptoKey (generated from string or provided).
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