| java.lang.Object org.bouncycastle.crypto.engines.RC532Engine
RC532Engine | public class RC532Engine implements BlockCipher(Code) | | The specification for RC5 came from the RC5 Encryption Algorithm
publication in RSA CryptoBytes, Spring of 1995.
http://www.rsasecurity.com/rsalabs/cryptobytes.
This implementation has a word size of 32 bits.
Implementation courtesy of Tito Pena.
|
RC532Engine | public RC532Engine()(Code) | | Create an instance of the RC5 encryption algorithm
and set some defaults
|
getBlockSize | public int getBlockSize()(Code) | | |
init | public void init(boolean forEncryption, CipherParameters params)(Code) | | initialise a RC5-32 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) | | |
|
|