Public Private Key Encrypytion

It turns out with cryptography that one can have this pattern: