java.lang.Object
net.i2p.crypto.eddsa.math.Constants

final class Constantsextends Object
Mathematical constants for EdDSA operations.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final byte[]
    The field element 8, little-endian.
    static final byte[]
    The field element 5, little-endian.
    static final byte[]
    The field element 4, little-endian.
    static final byte[]
    The field element 1, little-endian.
    static final byte[]
    The field element 2, little-endian.
    static final byte[]
    The field element 0, little-endian.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ZERO

      public static final byte[] ZERO
      The field element 0, little-endian.
    • ONE

      public static final byte[] ONE
      The field element 1, little-endian.
    • TWO

      public static final byte[] TWO
      The field element 2, little-endian.
    • FOUR

      public static final byte[] FOUR
      The field element 4, little-endian.
    • FIVE

      public static final byte[] FIVE
      The field element 5, little-endian.
    • EIGHT

      public static final byte[] EIGHT
      The field element 8, little-endian.
  • Constructor Details

    • Constants

      Constants()
      Constructor. The field elements are compile-time constants, so an instance holds nothing and only the constants below are ever read.