Class Grain128Noopt
java.lang.Object
com.coderslagoon.crypto.estreamj.ciphers.grain.GrainRefNoopt
com.coderslagoon.crypto.estreamj.ciphers.grain.Grain128Noopt
- All Implemented Interfaces:
ICipher
-
Field Summary
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
-
Constructor Details
-
Grain128Noopt
public Grain128Noopt()
-
-
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()
-