class

ECDSA::Group

Inherits Reference < Object

Constructors

new(name : Symbol, p : BigInt, a : BigInt, b : BigInt, gx : BigInt, gy : BigInt, n : BigInt)
Source

Instance methods

==(other : ECDSA::Group)
Source
create_key_pair(secret_key : BigInt) : NamedTuple(secret_key: BigInt, public_key: Point)
Source
create_key_pair
Source
create_public_key(secret_key : BigInt) : Point
Source
infinity
Source
inverse(n1 : BigInt, n2 : BigInt)
Source
name
Source
sign(secret_key : BigInt, message : String, temp_key_k : BigInt) : Signature
Source
sign(secret_key : BigInt, e : BigInt, temp_key_k : BigInt) : Signature
Source
sign(secret_key : BigInt, message : String) : Signature
Source
sign(secret_key : BigInt, e : BigInt) : Signature
Source
verify(public_key : Point, message : String, r : BigInt, s : BigInt) : Bool
Source
verify(public_key : Point, e : BigInt, r : BigInt, s : BigInt) : Bool
Source
verify(public_key : Point, message : String, signature : Signature)
Source
verify(public_key : Point, e : BigInt, signature : Signature)
Source