tmp=new byte[bsize];
System.arraycopy(key, 0, tmp, 0, tmp.length);
key=tmp;
}
try{
cipher=new CBCBlockCipher(new BlowfishEngine());
CipherParameters param=new ParametersWithIV(new KeyParameter(key), iv);
if(mode==ENCRYPT_MODE){ cipher.init(true, param); }
else{ cipher.init(false, param); }
}
catch(Exception e){