Exemple: How does Apple guarantee that the iOS source code will not be discovered by an adversary?
Is there any type of different encryption for this case?
Exemple: How does Apple guarantee that the iOS source code will not be discovered by an adversary?
Is there any type of different encryption for this case?
TL;DR: They can‘t. Apps are not encrypted and could be read by anyone that has access to the application files
But it is not as easy as it sounds:
There is a saying „Everything is open source if you can read assembly.“ And this is true (for most cases)
They cant encrypt their code because you phone has to be able to read it, and therefore you could.
But the applications are compiled, meaning a application called the compiler turns the readable code in form of text to binary, which can be read and executed by a computer. Reading binary is (almost) impossible for a human, but there are applications called decompilers which turn binary back to code, but most of the time to assembly which is hard (but not impossible) to read. You could post this online, but very few people would be able to understand this. Turning it back into normal code would require way too much effort.
But there are other problems with reading source code (specifically for ios):