Breakdown of Det må være denne algoritmen som krypterte meldingen.
Questions & Answers about Det må være denne algoritmen som krypterte meldingen.
In this cleft sentence, the highlighted element is a noun phrase (denne algoritmen) that acts as the subject of the verb krypterte. When you cleave a noun phrase—especially a subject or an object—Norwegian introduces the follow-up clause with the relative pronoun som.
By contrast, at is used in cleft sentences when the highlighted part is an adverbial (such as a time clause or prepositional phrase), as in Det var først i går at meldingen ble kryptert (It was only yesterday that the message was encrypted). With a subject like denne algoritmen, only som works.
In a cleft sentence, the introductory verb phrase can stay in the present tense (Det er... / Det må være...) even when the action in the som-clause happened in the past. Using må være emphasizes that you are making a present-time deduction about a current piece of evidence (It has to be this algorithm...), while krypterte places the encryption itself in the past.
If you want both parts in the past, Det må ha vært denne algoritmen som krypterte meldingen (It must have been this algorithm that encrypted the message) is equally natural.