Skip to content

Commit

Permalink
proofs add
Browse files Browse the repository at this point in the history
  • Loading branch information
Megha-Bose committed Feb 21, 2023
1 parent 9219011 commit 4c884ed
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 157 deletions.
Binary file added A1/CBC_MAC/CBC_MAC.pdf
Binary file not shown.
Binary file added A1/CCA/CCA.pdf
Binary file not shown.
Binary file modified A1/CPA/CPA.pdf
Binary file not shown.
37 changes: 0 additions & 37 deletions A1/CPA/README.md

This file was deleted.

Binary file modified A1/EAV/EAV.pdf
Binary file not shown.
40 changes: 0 additions & 40 deletions A1/EAV/README.md

This file was deleted.

Binary file added A1/MAC/MAC.pdf
Binary file not shown.
Binary file modified A1/PRF/PRF.pdf
Binary file not shown.
16 changes: 0 additions & 16 deletions A1/PRF/README.md

This file was deleted.

Binary file modified A1/PRG/PRG.pdf
Binary file not shown.
58 changes: 0 additions & 58 deletions A1/PRG/README.md

This file was deleted.

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 7,27 @@
### Pseudo-random Generator
A provably-secure pseudo-random generator which outputs a pseudo-random bit-string value of length l(k) when the in-class function generate() is invoked.

[Code](A1/PRG/PRG.py) | [Proof of Security](A1/PRG/PRG.pdf)
[Code](A1/PRG/PRG.py)

### Pseudo-random Function
A provably-secure pseudo-random function that outputs a pseudo-random integer value when the in-class function evaluate() is invoked.

[Code](A1/PRF/PRF.py) | [Proof of Security](A1/PRF/PRF.pdf)
[Code](A1/PRF/PRF.py)

### Encryption Scheme against Eavesdropping Adversary
A secure encryption-decryption scheme for an eavesdropping attack. The encryption and the decryption functionalities are implemented in two different functions.

[Code](A1/EAV/EAV.py) | [Proof of Security](A1/EAV/EAV.pdf)
[Code](A1/EAV/EAV.py)

### CPA-Secure Encryption Scheme
A CPA-secure encryption-decryption scheme using the previously implemented PRF that outputs the ciphertext when the in-class function enc() is invoked and returns the plaintext when the in-class function dec() is invoked.

[Code](A1/CPA/CPA.py) | [Proof of Security](A1/CPA/CPA.pdf)
[Code](A1/CPA/CPA.py)

### Message Authentication Codes
A variable-length message authentication code scheme that returns the tag when the in-class function mac() is invoked and returns a boolean value (0 if the verification is erroneous, 1 otherwise) when the function vrfy() is invoked.

[Code](A1/MAC/MAC.py) | [Proof of Security](A1/MAC/MAC.pdf)
[Code](A1/MAC/MAC.py)

### CBC-MAC
A variable-length CBC-MAC using the previously implemented PRF.
Expand All @@ -37,5 37,5 @@ A variable-length CBC-MAC using the previously implemented PRF.
### CCA-Secure Encryption Scheme
A CCA secure scheme using the CPA and CBC-MAC implementations that returns the cipher-text when then in-class function enc() is invoked and returns the plain-text (or not) when the in-class function dec() is invoked.

[Code](A1/CCA/CCA.py) | [Proof of Security](A1/CCA/CCA.pdf)
[Code](A1/CCA/CCA.py)

0 comments on commit 4c884ed

Please sign in to comment.