object FieldElement extends FiniteFieldObject[FieldElement] with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FieldElement
  2. Serializable
  3. FiniteFieldObject
  4. Factory
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(fe1: FieldElement, fe2: FieldElement): FieldElement
    Definition Classes
    FiniteFieldObject
  5. def apply(num: BigInteger): FieldElement
    Definition Classes
    FiniteFieldObject
  6. def apply(num: BigInt): FieldElement
    Definition Classes
    FiniteFieldObject
  7. def apply(hex: String): FieldElement

    Creates a T from a hex string.

    Creates a T from a hex string.

    Definition Classes
    Factory
  8. def apply(bytes: ByteVector): FieldElement

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    Factory
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def computeInverse(fe: FieldElement): FieldElement

    Computes the inverse (mod fieldOrder) of the input using the Euclidean Algorithm (log time) Cribbed from https://www.geeksforgeeks.org/multiplicative-inverse-under-modulo-m/

    Computes the inverse (mod fieldOrder) of the input using the Euclidean Algorithm (log time) Cribbed from https://www.geeksforgeeks.org/multiplicative-inverse-under-modulo-m/

    Definition Classes
    FiniteFieldObject
  12. def computePoint(fe: FieldElement): ECPublicKey
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def fieldMemberConstructor(bytes: ByteVector): FieldElement
    Definition Classes
    FieldElementFiniteFieldObject
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def fromByteArray(bytes: Array[Byte]): FieldElement
    Definition Classes
    FiniteFieldObject
  18. def fromBytes(bytes: ByteVector): FieldElement

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    FiniteFieldObjectFactory
  19. def fromBytesLE(bytes: ByteVector): FieldElement

    Creates a T out of a sequence of bytes in little endian.

    Creates a T out of a sequence of bytes in little endian.

    Definition Classes
    Factory
  20. def fromBytesOpt(bytes: ByteVector): Option[FieldElement]

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Definition Classes
    Factory
  21. def fromBytesT(bytes: ByteVector): Try[FieldElement]

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Definition Classes
    Factory
  22. def fromHex(hex: String): FieldElement

    Creates a T out of a hex string.

    Creates a T out of a hex string.

    Definition Classes
    Factory
  23. def fromHexLE(hex: String): FieldElement

    Creates a T out of a hex string in little endian.

    Creates a T out of a hex string in little endian.

    Definition Classes
    Factory
  24. def fromHexOpt(hex: String): Option[FieldElement]

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Definition Classes
    Factory
  25. def fromHexT(hex: String): Try[FieldElement]

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Definition Classes
    Factory
  26. def getBigInteger(bytes: ByteVector): BigInteger
    Definition Classes
    FiniteFieldObject
  27. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def multiply(fe1: FieldElement, fe2: FieldElement): FieldElement
    Definition Classes
    FiniteFieldObject
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def negate(fe: FieldElement): FieldElement
    Definition Classes
    FiniteFieldObject
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. lazy val one: FieldElement
    Definition Classes
    FiniteFieldObject
  36. lazy val orderMinusOne: FieldElement
    Definition Classes
    FiniteFieldObject
  37. implicit def self: Factory[FieldElement]

    Allows a def foo[C: Factory]() construction.

    Allows a def foo[C: Factory]() construction.

    Definition Classes
    Factory
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. lazy val zero: FieldElement
    Definition Classes
    FiniteFieldObject

Inherited from Serializable

Inherited from Factory[FieldElement]

Inherited from AnyRef

Inherited from Any

Ungrouped