Everything you need to know about Cryptography (unless you’re a mathematician)
Don’t try this at home.
Get an expert.
Basic Cryptographic Tools
Seriously though. Bad crypto ruins lives.
Basic Cryptographic Tools
Cryptographic Hash Functions Blue arrow = Hash function Digest Digest
Symmetric Encryption RNG + = + =
Public-key Cryptography Bob’s Private Key This arrow is math RNG Bob’s Public Key
Public-key Cryptography - Asymmetric Encryption Bob’s Public Key + = Data Bob’s Private Key + = Data
Public Key Cryptography - Signing Bob’s Private Key Signed Dat + = Data By Bob Bob’s Public Key Signed Dat Signature + = By Bob Verification
Cryptosystems
Cryptographic tools are hard
But even the easy partsare dangerous
Cryptosystems AKA ultra-high-stakes plumbing
PGP - Part 1 Hash Digest Alice’s Signed + = Sign Digest Private Digest Symmetric Encrypt + = Bob’s Symmetric Encrypted + = Encrypt Public For Bob
PGP - Part 2 Signed Encrypted Transmit Digest For Bob Bob’s Encrypted + + = Decrypt Private For Bob Signature and Signed Alice’s = + Verify Integrity Digest Public Verification
Recommend
More recommend