Class RainbowParameters

java.lang.Object
org.bouncycastle.pqc.legacy.crypto.rainbow.RainbowParameters
All Implemented Interfaces:
CipherParameters

public class RainbowParameters extends Object implements CipherParameters
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default Constructor The elements of the array containing the number of Vinegar variables in each layer are set to the default values here.
    Constructor with parameters
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Getter for the number of all the polynomials in Rainbow
    int
    Getter for the number of layers
    int[]
    Getter for the array containing the number of Vinegar-variables per layer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RainbowParameters

      public RainbowParameters()
      Default Constructor The elements of the array containing the number of Vinegar variables in each layer are set to the default values here.
    • RainbowParameters

      public RainbowParameters(int[] vi)
      Constructor with parameters
      Parameters:
      vi - The elements of the array containing the number of Vinegar variables per layer are set to the values of the input array.
  • Method Details

    • getNumOfLayers

      public int getNumOfLayers()
      Getter for the number of layers
      Returns:
      the number of layers
    • getDocLength

      public int getDocLength()
      Getter for the number of all the polynomials in Rainbow
      Returns:
      the number of the polynomials
    • getVi

      public int[] getVi()
      Getter for the array containing the number of Vinegar-variables per layer
      Returns:
      the numbers of vinegars per layer