String md = mode.toUpperCase();  if (md.equals("NONE") || md.equals("ECB")) { return; }
    protected void engineSetMode(        String  mode)         throws NoSuchAlgorithmException    {        throw new NoSuchAlgorithmException("can't support mode " + mode);    }