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

x/polkadot/util-crypto/sr25519/index.ts>sr25519Agreement

Package publishing for deno.land/x/polkadot
Go to Latest
function sr25519Agreement
import { sr25519Agreement } from "https://deno.land/x/polkadot@0.2.13/util-crypto/sr25519/index.ts";

Parameters

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

Returns

Uint8Array