Skip to content

Instantly share code, notes, and snippets.

@ndsamuelson
Last active December 15, 2021 07:30
Show Gist options
  • Save ndsamuelson/791c8c78ac178919daa936608a20612e to your computer and use it in GitHub Desktop.
Save ndsamuelson/791c8c78ac178919daa936608a20612e to your computer and use it in GitHub Desktop.
Hashing ecryption and encoding

Hashing

Hashing, encryption and encoding (by Michal Špaček)

Hashing

plaintext ➡️ hash hash ⛔ plaintext

Symmetric encryption

plaintext ➡️ 🔑 ➡️ ciphertext plaintext ⬅️ 🔑 ⬅️ ciphertext (🔑 shared key)

Asymmetric encryption

plaintext ➡️ 🔑 ➡️ ciphertext plaintext ⬅️ 〽️ ⬅️ ciphertext (🔑 public key, 〽️ private key)

Encoding

text ➡️ encoded text ⬅️ encoded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment