Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
XingyeLu committed Jan 2, 2024
1 parent dbfcc1b commit 8d3b9dc
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion syllabus/1-Cryptography/8-Exotic_Primitives-slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,15 @@ The magic here is polynomials, and the fact that a polynomial of degree $n$ is c

---


## Use in Decentralized Systems



<img style="width: 600px;" src="./img/EEC2.png" />

---

## Use in Decentralized Systems

- We have data we want to keep publicly available
Expand Down Expand Up @@ -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;` <br/> Generate a `sk` (secret key) from some input `r`.
- `fn public_key(sk) -> pk;` <br/> Generate a `pk` (public key) from the private key `sk`.
- `fn encrypt(pk, msg) -> ciphertext;` <br/> Takes the public key and a message; returns the ciphertext.
- `fn decrypt(sk, ciphertext) -> msg;` <br/> For the inputs `sk` and a ciphertext; returns the original message.

---
## Proxy Reencryption Intuition

<img rounded style="height: 400px" src="./img/proxy1.png" />

- 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

---

Expand Down
Binary file added syllabus/1-Cryptography/img/EEC2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added syllabus/1-Cryptography/img/proxy1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8d3b9dc

Please sign in to comment.