package javax.crypto;

import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.NoSuchAlgorithmException;
import java.security.spec.AlgorithmParameterSpec;

public class Cipher
{
 public static final int ENCRYPT_MODE = 1;
 public static final int DECRYPT_MODE = 2;

 public static final Cipher getInstance(String) throws NoSuchAlgorithmException, NoSuchPaddingException
 {
  return null;
 }
 
 public final void init(int, Key) throws InvalidKeyException
 {
 }
 
 public final void init(int, Key, AlgorithmParameterSpec) throws InvalidAlgorithmParameterException, InvalidKeyException
 {
 }
 
 public final int update(byte[], int, int, byte[], int) throws IllegalStateException, ShortBufferException
 {
  return 0;
 }
 
 public final int doFinal(byte[], int, int, byte[], int) throws IllegalBlockSizeException, IllegalStateException, BadPaddingException, ShortBufferException
 {
  return 0;
 }
 
 public final byte[] getIV()
 {
  return null;
 }
 
}