struct Secp256k1::ECDSA_Signature

Overview

A basic ECDSA Signature containing a random point #r and the signature proof #s.

See: Signature for signature generation.

Properties:

sig = ECDSA_Signature.new r.x, proof

Defined in:

structs.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(r : BigInt, s : BigInt) #

A signature always requires the random point #r and the signature proof #s.

Parameters:

  • #r (BigInt): the x coordinate of a random point R.
  • #s (BigInt): the signature proof of a message.

[View source]

Instance Method Detail

def r : BigInt #

The x coordinate of a random point R.


[View source]
def r=(r : BigInt) #

The x coordinate of a random point R.


[View source]
def s : BigInt #

The signature proof of a message.


[View source]
def s=(s : BigInt) #

The signature proof of a message.


[View source]