Object

sigmastate.basics

SecP521R1

Related Doc: package basics

Permalink

object SecP521R1 extends BcDlogGroup[SecP521R1Point] with App

Linear Supertypes
App, DelayedInit, BcDlogGroup[SecP521R1Point], DlogGroup[SecP521R1Point], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SecP521R1
  2. App
  3. DelayedInit
  4. BcDlogGroup
  5. DlogGroup
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def args: Array[String]

    Permalink
    Attributes
    protected
    Definition Classes
    App
    Annotations
    @deprecatedOverriding( "args should not be overridden" , "2.11.0" )
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val bases: Array[SecP521R1Point]

    Permalink
  7. def calcK(p: BigInteger): Int

    Permalink

    This function calculates k, the maximum length in bytes of a string to be converted to a Group Element of this group.

    This function calculates k, the maximum length in bytes of a string to be converted to a Group Element of this group.

    returns

    k

    Definition Classes
    BcDlogGroup
  8. def checkCurveMembership(x: BigInteger, y: BigInteger): Boolean

    Permalink

    Checks if the given x and y represent a valid point on the given curve, i.e.

    Checks if the given x and y represent a valid point on the given curve, i.e. if the point (x, y) is a solution of the curves equation.

    x

    coefficient of the point

    y

    coefficient of the point

    returns

    true if the given x and y represented a valid point on the given curve

    Definition Classes
    BcDlogGroup
  9. def checkMembershipAndCreate(x: BigInteger, y: BigInteger): Try[SecP521R1Point]

    Permalink
    Definition Classes
    BcDlogGroup
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def computeLL(groupElements: Array[SecP521R1Point], exponentiations: Array[BigInteger]): SecP521R1Point

    Permalink
    Attributes
    protected
    Definition Classes
    BcDlogGroup
  12. def computeNaive(groupElements: Array[SecP521R1Point], exponentiations: Array[BigInteger]): SecP521R1Point

    Permalink
    Attributes
    protected
    Definition Classes
    BcDlogGroup
  13. def createPoint(x: BigInteger, y: BigInteger): SecP521R1Point

    Permalink
    Definition Classes
    BcDlogGroup
  14. def createRandomElement(): SecP521R1Point

    Permalink

    Creates a random member of this Dlog group

    Creates a random member of this Dlog group

    returns

    the random element

    Definition Classes
    BcDlogGroupDlogGroup
  15. def createRandomGenerator(): SecP521R1Point

    Permalink

    Creates a random generator of this Dlog group

    Creates a random generator of this Dlog group

    returns

    the random generator

    Definition Classes
    DlogGroup
  16. lazy val curve: ECCurve

    Permalink
    Definition Classes
    BcDlogGroup
  17. val elems: Int

    Permalink
  18. def endExponentiateWithPreComputedValues(base: SecP521R1Point): Unit

    Permalink

    This function cleans up any resources used by exponentiateWithPreComputedValues for the requested base.

    This function cleans up any resources used by exponentiateWithPreComputedValues for the requested base. It is recommended to call it whenever an application does not need to continue calculating exponentiations for this specific base.

    Definition Classes
    BcDlogGroupDlogGroup
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. val executionStart: Long

    Permalink
    Definition Classes
    App
  22. def exponentiate(base: SecP521R1Point, exponent: BigInteger): SecP521R1Point

    Permalink

    Raises the base GroupElement to the exponent.

    Raises the base GroupElement to the exponent. The result is another GroupElement.

    returns

    the result of the exponentiation

    Definition Classes
    BcDlogGroupDlogGroup
    Exceptions thrown
  23. def exponentiateWithPreComputedValues(base: SecP521R1Point, exponent: BigInteger): SecP521R1Point

    Permalink

    Computes the product of several exponentiations of the same base and distinct exponents.

    Computes the product of several exponentiations of the same base and distinct exponents. An optimization is used to compute it more quickly by keeping in memory the result of h1, h2, h4,h8,... and using it in the calculation.

    Note that if we want a one-time exponentiation of h it is preferable to use the basic exponentiation function since there is no point to keep anything in memory if we have no intention to use it.

    returns

    the exponentiation result

    Definition Classes
    BcDlogGroupDlogGroup
  24. val exps: Array[BigInteger]

    Permalink
  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. lazy val generator: SecP521R1Point

    Permalink

    The generator g of the group is an element of the group such that, when written multiplicatively, every element of the group is a power of g.

    The generator g of the group is an element of the group such that, when written multiplicatively, every element of the group is a power of g.

    returns

    the generator of this Dlog group

    Definition Classes
    BcDlogGroupDlogGroup
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  28. lazy val getInfinity: SecP521R1Point

    Permalink

    Creates ECPoint.Fp with infinity values

    Creates ECPoint.Fp with infinity values

    Definition Classes
    BcDlogGroup
  29. def getInverse(groupElement: SecP521R1Point): SecP521R1Point

    Permalink

    Calculates the inverse of the given GroupElement.

    Calculates the inverse of the given GroupElement.

    groupElement

    to invert

    returns

    the inverse element of the given GroupElement

    Definition Classes
    BcDlogGroupDlogGroup
    Exceptions thrown
  30. def getKLeastSignBytes(x: BigInteger, k: Int): Array[Byte]

    Permalink

    This function returns the k least significant bytes of the number x

    This function returns the k least significant bytes of the number x

    returns

    k least significant bits of x

    Definition Classes
    BcDlogGroup
  31. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  32. lazy val identity: SecP521R1Point

    Permalink

    returns

    the identity of this Dlog group

    Definition Classes
    BcDlogGroupDlogGroup
  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. lazy val k: Int

    Permalink
    Definition Classes
    BcDlogGroup
  35. val ll: SecP521R1Point

    Permalink
  36. def main(args: Array[String]): Unit

    Permalink
    Definition Classes
    App
    Annotations
    @deprecatedOverriding( "main should not be overridden" , "2.11.0" )
  37. lazy val maxLengthOfByteArrayForEncoding: Int

    Permalink

    This function returns the value <I>k</I> which is the maximum length of a string to be encoded to a Group Element of this group.

    This function returns the value <I>k</I> which is the maximum length of a string to be encoded to a Group Element of this group.

    Any string of length <I>k</I> has a numeric value that is less than (p-1)/2 - 1. <I>k</I> is the maximum length a binary string is allowed to be in order to encode the said binary string to a group element and vice-versa.

    If a string exceeds the <I>k</I> length it cannot be encoded.

    returns

    k the maximum length of a string to be encoded to a Group Element of this group. k can be zero if there is no maximum.

    Definition Classes
    BcDlogGroupDlogGroup
  38. def multiplyGroupElements(groupElement1: SecP521R1Point, groupElement2: SecP521R1Point): SecP521R1Point

    Permalink

    Multiplies two GroupElements

    Multiplies two GroupElements

    returns

    the multiplication result

    Definition Classes
    BcDlogGroupDlogGroup
    Exceptions thrown
  39. val naive: SecP521R1Point

    Permalink
  40. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  41. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. lazy val order: BigInteger

    Permalink

    returns

    the order of this Dlog group

    Definition Classes
    BcDlogGroupDlogGroup
  44. def orderGreaterThan(numBits: Int): Boolean

    Permalink

    Checks if the order of this group is greater than 2^numBits

    Checks if the order of this group is greater than 2^numBits

    returns

    true if the order is greater than 2^numBits; false otherwise.

    Definition Classes
    BcDlogGroupDlogGroup
  45. lazy val p: BigInteger

    Permalink
    Definition Classes
    BcDlogGroup
  46. lazy val q: BigInteger

    Permalink
    Definition Classes
    BcDlogGroup
  47. val secureRandom: SecureRandom

    Permalink
    Definition Classes
    DlogGroup
  48. def simultaneousMultipleExponentiations(groupElements: Array[SecP521R1Point], exponentiations: Array[BigInteger]): SecP521R1Point

    Permalink

    Computes the product of several exponentiations with distinct bases and distinct exponents.

    Computes the product of several exponentiations with distinct bases and distinct exponents. Instead of computing each part separately, an optimization is used to compute it simultaneously.

    returns

    the exponentiation result

    Definition Classes
    BcDlogGroupDlogGroup
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  50. var t0: Long

    Permalink
  51. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  52. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. val x9params: X9ECParameters

    Permalink
    Definition Classes
    BcDlogGroup

Deprecated Value Members

  1. def delayedInit(body: ⇒ Unit): Unit

    Permalink
    Definition Classes
    App → DelayedInit
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) The delayedInit mechanism will disappear.

Inherited from App

Inherited from DelayedInit

Inherited from BcDlogGroup[SecP521R1Point]

Inherited from DlogGroup[SecP521R1Point]

Inherited from AnyRef

Inherited from Any

Ungrouped