Posts

Showing posts from April 7, 2019

What encoding is used for the keys when using `ssh-keygen -t rsa`?

Image
2 When I run: ssh-keygen -t rsa to generate a public/private key pair in files e.g. id_rsa.pub and id_rsa, my understanding is that the public key encodes a prime number p, and the private key encodes a number pq. But when I open these files I don't see human-readable numbers, I see sequences of characters. So my question is simply: what am I looking at? Are these characters directly mappable to numbers and, if so, by what convention/algorithm/encoding? ssl openssh share | improve this question asked Jan 5 at 20:25 Anastasius Vivaldus Anastasius Vivaldus 20 4 ...