Secp256k1PrivateKey

A Secp256k1 ecdsa private key

Constructors

Link copied to clipboard
constructor(hexInput: HexInput)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun publicKey(): Secp256k1PublicKey

Derive the public key associated with the private key

Link copied to clipboard
open override fun sign(message: HexInput): Secp256k1Signature

Sign the given message with the private key.

Link copied to clipboard
open override fun toByteArray(): ByteArray

Get the private key in bytes.

Link copied to clipboard
open override fun toString(): String