public class StreamCipher extends BaseCipher
Cipher.Mode| Constructor and Description |
|---|
StreamCipher(int bsize,
java.lang.String algorithm,
java.lang.String transformation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initCipher(javax.crypto.Cipher cipher,
Cipher.Mode mode,
byte[] key,
byte[] iv) |
getBlockSize, getIVSize, getKeySpec, getMode, init, updatepublic StreamCipher(int bsize,
java.lang.String algorithm,
java.lang.String transformation)
protected void initCipher(javax.crypto.Cipher cipher,
Cipher.Mode mode,
byte[] key,
byte[] iv)
throws java.security.InvalidKeyException,
java.security.InvalidAlgorithmParameterException
initCipher in class BaseCipherjava.security.InvalidKeyExceptionjava.security.InvalidAlgorithmParameterException