ECDSA::Group
Inherits Reference < Object
Constructors
new(name : Symbol, p : BigInt, a : BigInt, b : BigInt, gx : BigInt, gy : BigInt, n : BigInt)
SourceInstance methods
==(other : ECDSA::Group)
Sourcecreate_key_pair(secret_key : BigInt) : NamedTuple(secret_key: BigInt, public_key: Point)
Sourcecreate_key_pair
Sourcecreate_public_key(secret_key : BigInt) : Point
Sourcegx
Sourcegy
Sourceinfinity
Sourceinverse(n1 : BigInt, n2 : BigInt)
Sourcename
Sourcepre
Sourcesign(secret_key : BigInt, message : String, temp_key_k : BigInt) : Signature
Sourcesign(secret_key : BigInt, e : BigInt, temp_key_k : BigInt) : Signature
Sourcesign(secret_key : BigInt, message : String) : Signature
Sourcesign(secret_key : BigInt, e : BigInt) : Signature
Sourceverify(public_key : Point, message : String, r : BigInt, s : BigInt) : Bool
Sourceverify(public_key : Point, e : BigInt, r : BigInt, s : BigInt) : Bool
Sourceverify(public_key : Point, message : String, signature : Signature)
Sourceverify(public_key : Point, e : BigInt, signature : Signature)
Source