java.lang.Object
com.coderslagoon.crypto.estreamj.ciphers.grain.GrainRefNoopt
com.coderslagoon.crypto.estreamj.ciphers.grain.GrainP2Noopt
All Implemented Interfaces:
ICipher

public class GrainP2Noopt extends GrainRefNoopt
  • Field Details

    • NFTable

      protected static final int[] NFTable
    • boolTable

      protected static final int[] boolTable
  • Constructor Details

    • GrainP2Noopt

      public GrainP2Noopt()
  • Method Details

    • getKeySize

      public int getKeySize()
      Returns:
      key size in bytes
    • getNonceSize

      public int getNonceSize()
      Returns:
      nonce size in bytes.
    • keyStream

      protected int keyStream()
      Specified by:
      keyStream in class GrainRefNoopt
    • register

      public static void register()