Object

sigmastate.basics

CryptoConstants

Related Doc: package basics

Permalink

object CryptoConstants

Constants used in crypto operations implementation.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CryptoConstants
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type EcPointType = Ecp

    Permalink

    Type of group elements used in the signature scheme.

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. val EncodedGroupElementLength: Byte

    Permalink

    Length of encoded group element in bytes.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val dlogGroup: BcDlogGroup

    Permalink

    Group used in the signature scheme.

  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. val groupOrder: BigInteger

    Permalink

    Group order, i.e.

    Group order, i.e. number of elements in the group

  13. val groupSize: Int

    Permalink

    Number of bytes to represent any group element as byte array

  14. val groupSizeBits: Int

    Permalink

    Size of the binary representation of any group element (2 ^ groupSizeBits == <number of elements in a group>)

  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. val hashLength: Int

    Permalink

    Length of hash in bytes.

  17. val hashLengthBits: Int

    Permalink

    Length of hash function used in the signature scheme.

    Length of hash function used in the signature scheme. Blake2b hash function is used.

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. val secureRandom: SecureRandom

    Permalink

    Secure random generator used in the signature scheme.

  23. def secureRandomBytes(howMany: Int): Array[Byte]

    Permalink

    Generates random bytes using secure random generator.

    Generates random bytes using secure random generator.

    howMany

    number of bytes to generate

    returns

    generated bytes in a new array

  24. implicit val soundnessBits: Int

    Permalink

    A size of challenge in Sigma protocols, in bits.

    A size of challenge in Sigma protocols, in bits. If this anything but 192, threshold won't work, because we have polynomials over GF(2192) and no others. So DO NOT change the value without implementing polynomials over GF(2soundnessBits) first and changing code that calls on GF2_192 and GF2_192_Poly classes!!! We get the challenge by reducing hash function output to proper value.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped