public BlowFishCrypt(File keyFile){
  try {
    FileInputStream is=new FileInputStream(keyFile);
    ObjectInputStream os=new ObjectInputStream(is);
    String keyString=(String)os.readObject();
    is.close();
    byte[] keyBytes=keyString.getBytes();
    secretKeySpec=new SecretKeySpec(keyBytes,"Blowfish");
  }
 catch (  Exception e) {
  }
}

public BlowFishCrypt ( File keyFile ) { try { FileInputStream is = new FileInputStream ( keyFile ) ; ObjectInputStream os = new ObjectInputStream ( is ) ; String keyString = ( String ) os . readObject ( ) ; is . close ( ) ; byte [ ] keyBytes = keyString . getBytes ( ) ; secretKeySpec = new SecretKeySpec ( keyBytes , "Blowfish" ) ; } catch ( Exception e ) { } }
creates a new blowfishcrypt object .
