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

x/dtils/mod.ts>verify

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

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

Returns

Promise<boolean>