diff --git a/syllabus/1-Cryptography/8-Exotic_Primitives-slides.md b/syllabus/1-Cryptography/8-Exotic_Primitives-slides.md index cc01fbfc9..dd5f63a96 100644 --- a/syllabus/1-Cryptography/8-Exotic_Primitives-slides.md +++ b/syllabus/1-Cryptography/8-Exotic_Primitives-slides.md @@ -251,6 +251,15 @@ The magic here is polynomials, and the fact that a polynomial of degree $n$ is c --- + +## Use in Decentralized Systems + + + + + +--- + ## Use in Decentralized Systems - We have data we want to keep publicly available @@ -336,11 +345,29 @@ Image credit here: https://medium.com/clavestone/bitcoin-multisig-vs-shamirs-sec - Can reconstruct a secret if you lose it. - So can other people who collect enough shares. +--- +## Recall Asymmetric (Public Key) Encryption + +- `fn generate_key(r) -> sk;`
Generate a `sk` (secret key) from some input `r`. +- `fn public_key(sk) -> pk;`
Generate a `pk` (public key) from the private key `sk`. +- `fn encrypt(pk, msg) -> ciphertext;`
Takes the public key and a message; returns the ciphertext. +- `fn decrypt(sk, ciphertext) -> msg;`
For the inputs `sk` and a ciphertext; returns the original message. + +--- +## Proxy Reencryption Intuition + + + +- Directly give Email Server $sk_A$? +- $A$ encrypt the email using $pk_B$ by itself and send the ciphertext to server? + --- ## Proxy Reencryption -Generate keys to allow a third party to transform encrypted data so someone else can read it, without revealing the data to the third party. +- A varient of asymmetric encrytion schemes +- Generate keys to allow a third party to transform encrypted data so someone else can read it +- Keep the data secret to the third party --- diff --git a/syllabus/1-Cryptography/img/EEC2.png b/syllabus/1-Cryptography/img/EEC2.png new file mode 100644 index 000000000..7a6c0931d Binary files /dev/null and b/syllabus/1-Cryptography/img/EEC2.png differ diff --git a/syllabus/1-Cryptography/img/proxy1.png b/syllabus/1-Cryptography/img/proxy1.png new file mode 100644 index 000000000..abd2cbdf7 Binary files /dev/null and b/syllabus/1-Cryptography/img/proxy1.png differ