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

x/polkadot/mod.ts>utilCrypto.secp256k1Compress

Package publishing for deno.land/x/polkadot
Go to Latest
function utilCrypto.secp256k1Compress
import { utilCrypto } from "https://deno.land/x/polkadot@0.2.27/mod.ts";
const { secp256k1Compress } = utilCrypto;

Parameters

publicKey: Uint8Array
optional
onlyJs: boolean

Returns

Uint8Array