public class CipherNone extends Object implements Cipher
Cipher.Mode| Constructor and Description |
|---|
CipherNone() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockSize() |
int |
getIVSize() |
void |
init(Cipher.Mode mode,
byte[] bytes,
byte[] bytes1)
Initialize the cipher for encryption or decryption with
the given key and initialization vector
|
void |
update(byte[] input)
Performs in-place encryption or decryption on the given data.
|
void |
update(byte[] input,
int inputOffset,
int inputLen)
Performs in-place encryption or decryption on the given data.
|
public int getIVSize()
public int getBlockSize()
getBlockSize in interface Cipherpublic void init(Cipher.Mode mode, byte[] bytes, byte[] bytes1) throws Exception
Cipherpublic void update(byte[] input)
throws Exception
Cipherupdate in interface Cipherinput - The input/output bytesException - If failed to executeCipher.update(byte[], int, int)Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.