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

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

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

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

Parameters

signatureBytes: Uint8Array
publicKeyBytes: Uint8Array
data: Uint8Array