How does encryption work and what is the difference between symmetric and asymmetric encryption?

Technical