Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputePowers ¶
ComputePowers computes x^0 to x^n-1.
More precisely, given x and n, returns a slice containing [x^0, ..., x^n-1] In particular, for n==0, an empty slice is returned
func ReduceCanonicalLittleEndian ¶
Tries to convert a byte slice to a field element. Returns an error if the byte slice was not a canonical representation of the field element. Canonical meaning that the big integer interpretation was less than the field's prime. ie it lies within the range [0, p-1] (inclusive)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.