org.bouncycastle.crypto.engines

Class SEEDEngine

Implemented Interfaces:
BlockCipher

public class SEEDEngine
extends java.lang.Object
implements BlockCipher

Implementation of the SEED algorithm as described in RFC 4009

Method Summary

String
getAlgorithmName()
int
getBlockSize()
void
init(boolean forEncryption, CipherParameters params)
int
processBlock(byte[] in, int inOff, byte[] out, int outOff)
void
reset()

Method Details

getAlgorithmName

public String getAlgorithmName()
Specified by:
getAlgorithmName in interface BlockCipher

getBlockSize

public int getBlockSize()
Specified by:
getBlockSize in interface BlockCipher

init

public void init(boolean forEncryption,
                 CipherParameters params)
            throws IllegalArgumentException
Specified by:
init in interface BlockCipher

processBlock

public int processBlock(byte[] in,
                        int inOff,
                        byte[] out,
                        int outOff)
            throws DataLengthException,
                   IllegalStateException
Specified by:
processBlock in interface BlockCipher

reset

public void reset()
Specified by:
reset in interface BlockCipher