# Functions
Coordinates returns the coordinates of p.
EthereumAddress returns the 160-bit address corresponding to p as public key.
Generate generates a public/private key pair, which can be verified cheaply on-chain.
IntToScalar returns i wrapped as a big.Int.
IsSecp256k1Point returns true if p is a secp256k1Point.
IsSecp256k1Scalar returns true if p is a secp256k1Scalar.
LongMarshal returns the concatenated coordinates serialized as uint256's.
LongUnmarshal returns the secp256k1 point represented by m, as a concatenated pair of uint256's.
NewBlakeKeccackSecp256k1 returns a cipher suite based on package go.dedis.ch/kyber/xof/blake2xb, SHA-256, and the secp256k1 curve.
NewPublicKeyFromBytes returns the PublicKey built from the given bytes, or errors.
NewPublicKeyFromHex returns the PublicKey encoded by 0x-hex string hex, or errors.
RepresentsScalar returns true iff i is in the right range to be a scalar.
ScalarToPublicPoint returns the public secp256k1 point associated to s.
SetCoordinates returns the point (x,y), or panics if an invalid secp256k1Point.
ValidPublicKey returns true iff p can be used in the optimized on-chain Schnorr-signature verification.
# Constants
CompressedPublicKeyLength is the length of a secp256k1 public key's x coordinate as a uint256, concatenated with 00 if y is even, 01 if odd.
# Structs
Secp256k1 represents the secp256k1 group.
SuiteSecp256k1 implements some basic functionalities such as Group, HashFactory, and XOFFactory.
# Type aliases
PublicKey is a secp256k1 point in compressed format.