I share real-world lessons from building scalable systems at Jump Trading, Binance, and running mission-critical cloud ops at GovTech and Singapore Air Force. No fluff, just practical takeaways, hard-earned fixes, and deep dives that matter.
What Public Key encrypts can only be decrypted by Private Key (used in Symmetric Key Exchange)
What Private Key encrypts can only be decrypted by Public Key (used in Digital Signature)
Convenient
Eliminate the need to exchange keys physically
Computationally Heavy
Compared to Symmetric Cryptography, so we usually use asymmetric cryptography to exchange the symmetric key and use symmetric cryptography for the rest of the secure communication
Verify the keys visually
ssh-keygen -lv -f /path/to/your/key
Obtain RSA pem files
Generate a new RSA key pair: openssl genrsa -out <key_name>_private.pem 3096
Extract the public key in the right format: openssl rsa -in <key_name>_private.pem -pubout -out <key_name>_public.pem