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

x/polkadot/util-crypto/secp256k1/compress.ts>secp256k1Compress

Package publishing for deno.land/x/polkadot
Go to Latest
function secp256k1Compress
import { secp256k1Compress } from "https://deno.land/x/polkadot@0.2.38/util-crypto/secp256k1/compress.ts";

Parameters

publicKey: Uint8Array
optional
onlyJs: boolean

Returns

Uint8Array