Module ethkey::math[][src]

Functions

curve_order

Return secp256k1 elliptic curve order

generation_point

Return base point of secp256k1

public_add

Inplace add one public key to another (EC point + EC point)

public_is_valid

Whether the public key is valid.

public_mul_secret

Inplace multiply public key by secret key (EC point * scalar)

public_negate

Replace public key with its negation (EC point = - EC point)

public_sub

Inplace sub one public key from another (EC point - EC point)