Your Public and Private keys are a mathematically linked numbers (or points on a mathematical curve) generated using trapdoor functions. Depending on the cryptographic algorithm you choose when generating the keys their content will vary. In some cases your public key may be represented as a hash. SSH Key Fingerprints: When you run ssh-keygen -lf ~/.ssh/id_ed25519.pub, the SHA256:... string displayed is a hash of your public key used for quick human verification, not the key itself. Digital Signatures: When signing a file or Git commit, the software first hashes the file into a small digest, and then uses your private key to mathematically sign that hash rather than the entire multi-megabyte file. They are plain text though it is not going to keep you on the edge of your seat reading it . Never, and I repeat never share your Private key with anyone. If you do just delete the key pair, revoke them if you are using a key server, and start again.
I know, it is all as clear as mud now right . You asked ...
The history behind public key cryptography & the Diffie-Hellman key exchange algorithm. We also have a video on RSA here: https://www.youtube.com/watch?v=wXB...
i forgor to add, this is my favourite educational video for how it grounds a mathematical concept in everyday experience with colours. i am delighted to have another chance to pull it out :]
Unus Nemo
in reply to Melissa BearTrix • •@Melissa BearTrix
Your Public and Private keys are a mathematically linked numbers (or points on a mathematical curve) generated using trapdoor functions. Depending on the cryptographic algorithm you choose when generating the keys their content will vary. In some cases your public key may be represented as a hash. SSH Key Fingerprints: When you run ssh-keygen -lf ~/.ssh/id_ed25519.pub, the SHA256:... string displayed is a hash of your public key used for quick human verification, not the key itself. Digital Signatures: When signing a file or Git commit, the software first hashes the file into a small digest, and then uses your private key to mathematically sign that hash rather than the entire multi-megabyte file. They are plain text though it is not going to keep you on the edge of your seat reading it
. Never, and I repeat never share your Private key with anyone. If you do just delete the key pair, revoke them if you are using a key server, and start again.
I know, it is all as clear as mud now right
. You asked ... 
Melissa BearTrix likes this.
Melissa BearTrix reshared this.
Melissa BearTrix
in reply to Unus Nemo • • •@unusnemo
Sort of ... Hugz
Thank you
Hugz & xXx
Unus Nemo likes this.
Unus Nemo reshared this.
Dee
in reply to Melissa BearTrix • • •encrypted.
If you're comfortable with wireshark there's a web page that steps you through each part of the TLS handshake tls-handshake.securityronin.co…
TLS Handshake Visualised — See How HTTPS Works
tls-handshake.securityronin.comDee
in reply to Dee • • •dani
in reply to Melissa BearTrix • • •youtube.com/watch?v=YEBfamv-_d…
xx oo
Diffie-Hellman Key Exchange
Art of the Problem (YouTube)dani
in reply to dani • • •