Class GrainP2Noopt
java.lang.Object
com.coderslagoon.crypto.estreamj.ciphers.grain.GrainRefNoopt
com.coderslagoon.crypto.estreamj.ciphers.grain.GrainP2Noopt
- All Implemented Interfaces:
ICipher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final int[]protected static final int[]Fields inherited from interface com.coderslagoon.crypto.estreamj.framework.ICipher
MODE_DECRYPT, MODE_ENCRYPT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.coderslagoon.crypto.estreamj.ciphers.grain.GrainRefNoopt
erase, getWordSize, isPatented, process, reset, setupKey, setupNonce
-
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:
keyStreamin classGrainRefNoopt
-
register
public static void register()
-