But if you have written it I'd have to note end-to-end encryption (as in truly end-to-end) is rarely applied in the real world.
It doesn't make even pragmatic sense, for ex. how can Apple index and process your photos, if it just sees them as bunch of binary noise? It can't. So it doesn't.