Module: ECC

Defined in:
lib/elliptic-lite/signature.rb,
lib/elliptic-lite/base.rb,
lib/elliptic-lite/base.rb,
lib/elliptic-lite/field.rb,
lib/elliptic-lite/point.rb,
lib/elliptic-lite/secp256k1.rb

Overview

Elliptic Curve Digital Signature Algorithm (ECDSA)

Defined Under Namespace

Classes: Curve, FiniteField, Group, IntegerOp, Point, PrivateKey, PublicKey, S256Field, S256Point, Signature

Constant Summary collapse

SECP256K1 =

use Secp256k1 - why? why not?

or use GROUP_SECP256K1 or SECP256K1_GROUP  (different from "plain" CURVE_SECP256K1) - why? why not?
Group.new(
              g: S256Point.new( 0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798,
                                0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8 ),
              n: 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141
)