Skip to main content
Module

x/dtils/mod.unstable.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.4.0/mod.unstable.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

Returns

Promise<boolean>