Module

x/polkadot/mod.ts>utilCrypto.sr25519Agreement

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

Parameters

secretKey: HexString | Uint8Array | string
publicKey: HexString | Uint8Array | string

Returns

Uint8Array