Basic concepts, Encryption
Asymmetric algorithm RSA
The most important and interesting about encryption - Part 5. A series of articles understandable even to non-specialists.