UNPKG

@polkadot/util-crypto

Version:
7 lines (6 loc) 308 B
import type { HexString } from '@polkadot/util/types'; /** * @name sr25519Agreement * @description Key agreement between other's public key and self secret key */ export declare function sr25519Agreement(secretKey: HexString | Uint8Array | string, publicKey: HexString | Uint8Array | string): Uint8Array;