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

x/dtils/devops/deps.ts>dtils.verify

The best unofficial library of utilities for Deno applications
Go to Latest
function dtils.verify
import { dtils } from "https://deno.land/x/dtils@2.2.0/devops/deps.ts";
const { verify } = dtils;

Verifies that signature is from the EC private key corresponding to publicKey. Function will error if publicKey is not a base64 encoded EC public key

Parameters

signature: string
publicKey: string
data: Uint8Array