πŸ“š Categories and Tags

Explore the complete list of available categories and tags:

Category Tags
πŸ—ΊοΈ Roadmap Developer β€’ Finance β€’ Javascript
🐍 Python Python Basic β€’ Python Intermediate β€’ Python Advance
🟩 Django Http-lifecycle β€’ Django Basic β€’ Django Models
🟨 Javascript Web-Storage β€’ JS-Fundamental
πŸ“ˆ Finance Financial Planning β€’ Investment β€’ Saving β€’ Tax β€’ Stock Market β€’ Mutual Funds
πŸ› οΈ Dev PageSpeed β€’ DevTools β€’ Git β€’ CLI
βš™οΈ DevOps Hosting β€’ Domain β€’ AWS β€’ Docker
πŸ—„οΈ Database DBMS
πŸ’» Operating System No tags available
🌐 Computer Networks No tags available
πŸ›οΈ LLD and HLD SDLC β€’ Software Design β€’ Design Principles β€’ Design Pattern

SSH keys

RSA vs ED25519

RSA vs ED25519

TL;DR:

  • Use ED25519 (if supported)
  • Unless you’re targeting legacy systems, prefer ed25519 β€” it’s more modern, secure, and faster.
  • ED25519: Modern, compact, faster β€” recommended
  • RSA: Widely compatible, older, heavier β€” use if needed for legacy support

Detailed Comparison

Feature RSA ED25519
πŸ” Algorithm Type Asymmetric, based on factoring Elliptic Curve Cryptography (ECC)
πŸ”’ Security Good (4096-bit recommended) Stronger at smaller size
πŸ“ Key Size 2048 / 3072 / 4096 bits 256 bits (only)
πŸš€ Speed Slower (especially for signing) Faster for both signing and verifying
⏳ Age Older, well-tested Newer (since OpenSSH 6.5, 2014)
πŸ”§ Config Flexibility More tunable options Simpler (fixed size)
πŸ“‰ Size (private key) Larger Smaller
πŸ‘΄ Compatibility Universally supported Requires OpenSSH β‰₯ 6.5
🧱 Quantum Resistance Not resistant Also not resistant

When to Use Each

Use Case Recommended Key
Working with modern systems (GitHub, GitLab, SSH servers) βœ… ED25519
Need compatibility with older servers, VPNs, or enterprise systems βœ… RSA 4096-bit

How to Generate (Examples)

# ED25519
ssh-keygen -t ed25519 -C "[email protected]"

# RSA (4096-bit)
ssh-keygen -t rsa -b 4096 -C "[email protected]"

Managing multiple SSH keys for both GitHub and Bitbucket, each with personal and work accounts

GitHub identifies SSH keys by the email/username attached to the key, so you need to configure them properly

[Read More]