UNPKG

@provenanceio/wallet-utils

Version:

Typescript Utilities for Provenance Blockchain Wallet

9 lines (8 loc) 391 B
import type { Bytes } from '@tendermint/types'; /** * sha256 encrypted, ECDSA signed version of the given byte array * @param bytes byte array (Uint8Array) to encrypt and sign * @param privateKey private key to sign with * @returns a sha256 encrypted, ECDSA signed version of the given byte array */ export declare const signBytes: (bytes: Uint8Array, privateKey: Bytes) => Uint8Array;