GithubHelp home page GithubHelp logo

oconnor663 / applied_crypto_2021_fall Goto Github PK

View Code? Open in Web Editor NEW
39.0 39.0 8.0 1.54 MB

problem sets for CS-GY 6903 Applied Cryptography

Python 75.50% Shell 2.46% Go 2.96% Java 3.50% Rust 15.59%

applied_crypto_2021_fall's People

Contributors

miki725 avatar oconnor663 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

applied_crypto_2021_fall's Issues

Maybe pass filepaths as input for shattered pdfs?

**Note that the filepath of these files in the grading environment probably
won't be the same. So once you've found the answer, just hardcode it and
comment out your file reading code.**

hardcoding anything in the solution seems like cheating. perhaps the grading environment can pass the (absolute) filepaths of the shattered pdfs as input. Example json can be updated with:

-  "problem4": null,
+  "problem4": [
+    "shattered-1.pdf",
+    "shattered-2.pdf"
+  ],

(note the lack of / for windows compatibility. by default open() should read in current working dir anyway.

Can nonce in CTR be just "unique", not random?

- Does CBC mode's "initialization vector" need to be fully random? Or is it
sufficient for it to be unique, like the CTR mode nonce?

I thought in class we discussed that even in CTR mode, the nonce component (first 12 bytes) need to be completely random. Otherwise if it does not contain random bits the random "stream" will not be very random therefore breaking CTR completely.

Maybe the "unique" word is confusing me in:

Or is it sufficient for it to be unique, like the CTR mode nonce?

Is that just my bad English over-reading this? Maybe clarify that a bit?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.