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

x/dtils/mod.ts>verifyUsingBytes

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

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