@Override public void init(int mode,Key key,AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException {
  Utils.checkNotNull(key);
  Utils.checkNotNull(params);
  cipher.init(mode,key,params);
}

@ Override public void init ( int mode , Key key , AlgorithmParameterSpec params ) throws InvalidKeyException , InvalidAlgorithmParameterException { Utils . checkNotNull ( key ) ; Utils . checkNotNull ( params ) ; cipher . init ( mode , key , params ) ; }
initializes the cipher with mode , key and iv .
