The version of the blessing in the Tur: The God who fights our fight, and judges our judgment, and avenges our vengeance, and exacts retribution for us from our foes, and pays recompense to all the enemies of our soul. Blessed are You, Hashem, who exacts retribution for His people Israel from all their foes, the God who saves. See there. And it opens with "Blessed" and concludes with "Blessed" because it is a long blessing, which contains many matters. And as for concluding with two matters: "Who exacts retribution..." and "the God who saves," even though one does not conclude with two—here it is one matter, for there is no complete salvation except when He exacts retribution from our foes (Beit Yosef). And that which it says in the opening "The God who fights...", in the Rif it begins "Who fights," for one has already said "our God" in the opening. However, because in the psalm "Ayelet HaShachar," which refers to Esther, she cried out: My God, my God, why have You forsaken me?! Because this holy name is in kindness, as it is written: "The kindness of God is all day long"—therefore they say this, for this name availed us (Bach). And this is why they conclude "the God who saves." And in the Rambam also in the conclusion "The God who exacts retribution...", see there. (And the main point is that during the time of the destruction—the name Havayah is not revealed until the future, if God wills. But the name "El" is forever, and this was her cry. Examine carefully and you will find it easy.)
נוסח הברכה בטור: האל הרב את ריבנו, והדן את דיננו, והנוקם את נקמתינו, והנפרע לנו מצרינו, והמשלם גמול לכל אויבי נפשינו. ברוך אתה ד', הנפרע לעמו ישראל מכל צריהם, האל המושיע. עיין שם. והיא פותחת ב"ברוך" וחותמת ב"ברוך" מפני שהיא ברכה ארוכה, שיש בה עניינים הרבה. ומה שמסיימים בשני עניינים: "הנפרע…", "האל המושיע", אף על גב דאין חותמין בשתים – הכא עניין אחד הוא, דאין תשועה שלימה אלא כשנפרע מצרינו (בית יוסף). וזה שאומר בפתיחה "האל הרב…", ברי"ף מתחיל "הרב", דהא כבר אמר "אלקינו" בהפתיחה. אלא משום דבמזמור "אילת השחר", דקאי על אסתר, צעקה: אלי אלי למה עזבתני?! משום דשם הקדוש הזה הוא בחסד, כדכתיב: "חסד אל כל היום" – לכן אומרים כן, דשם זה הועיל לנו (ב"ח). וזהו שמסיימים "האל המושיע". וברמב"ם גם בהחתימה "האל הנפרע…", עיין שם. (והעיקר דבזמן החורבן – אין שם הוי"ה מתגלה עד לעתיד אם ירצה השם. אבל שם "אל" הוא לעולם, וזהו צעקתה. ודייק ותמצא קל.)