Curious about encryption, can I get some further info on it?

Curious about encryption

I'm curious about this whole encryption deal... How does Apple (or anyone) write code that they themselves cannot access? It's been a conundrum for me with this whole FBI vs Apple thing. Don't get me wrong, I support Apple's decision to not give in.
Re: Curious about encryption

https://www.eff.org/deeplinks/2016/...when-we-talk-about-apple-and-compelled-speech

Original thread: https://forums.imore.com/threads/curious-about-encryption-can-i-get-some-further-info-on-it.358316/