Skip to main content
Module

x/dtils/mod.ts>signUsingBytes

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

Creates a digital signature using an EC private key. Note: function will error if the key passed in is not a private key

Parameters

privateKeyBytes: Uint8Array
data: Uint8Array