Skip to main content
Module

x/polkadot/mod.ts>utilCrypto.sr25519Agreement

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

Parameters

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

Returns

Uint8Array