| java.lang.Object org.bouncycastle.crypto.engines.GOST28147Engine
GOST28147Engine | public class GOST28147Engine implements BlockCipher(Code) | | implementation of GOST 28147-89
|
Field Summary | |
final protected static int | BLOCK_SIZE |
BLOCK_SIZE | final protected static int BLOCK_SIZE(Code) | | |
GOST28147Engine | public GOST28147Engine()(Code) | | standard constructor.
|
getBlockSize | public int getBlockSize()(Code) | | |
getSBox | public static byte[] getSBox(String sBoxName)(Code) | | Return the S-Box associated with SBoxName
Parameters: sBoxName - name of the S-Box byte array representing the S-Box |
init | public void init(boolean forEncryption, CipherParameters params)(Code) | | initialise an GOST28147 cipher.
Parameters: forEncryption - whether or not we are for encryption. Parameters: params - the parameters required to set up the cipher. exception: IllegalArgumentException - if the params argument isinappropriate. |
processBlock | public int processBlock(byte[] in, int inOff, byte[] out, int outOff)(Code) | | |
reset | public void reset()(Code) | | |
|
|