Versions in this module Expand all Collapse all v1 v1.0.3 Nov 23, 2023 v1.0.2 Nov 24, 2022 Changes in this version + var ErrWrongInput = errors.New("wrong input") + var File_github_com_getamis_alice_crypto_binaryfield_message_proto protoreflect.FileDescriptor + func EqualSlice(x, y []*FieldElement) bool + type BinaryMessage struct + High uint64 + Low uint64 + func TransFieldElementMsg(u []*FieldElement) []*BinaryMessage + func (*BinaryMessage) Descriptor() ([]byte, []int) + func (*BinaryMessage) ProtoMessage() + func (x *BinaryMessage) GetHigh() uint64 + func (x *BinaryMessage) GetLow() uint64 + func (x *BinaryMessage) ProtoReflect() protoreflect.Message + func (x *BinaryMessage) Reset() + func (x *BinaryMessage) String() string + func (xMsg *BinaryMessage) ToFieldElement() *FieldElement + type FieldElement struct + func AddVector(x, y []*FieldElement) ([]*FieldElement, error) + func NewFieldElement(low, high uint64) *FieldElement + func ScalMulFieldElement(element *FieldElement, input []uint8) []*FieldElement + func ToFieldElement(xMsg []*BinaryMessage) []*FieldElement + func (x *FieldElement) Add(y *FieldElement) *FieldElement + func (x *FieldElement) Copy() *FieldElement + func (x *FieldElement) Equal(y *FieldElement) bool + func (x *FieldElement) GetHigh() uint64 + func (x *FieldElement) GetLow() uint64