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

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

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

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