Code Monkey home page Code Monkey logo

crypto2024's Introduction

HW2 DES implementation

Homework: Read 5 inputs from stdin and write 5 outputs to stdout.

Onsite test: Modify DES and read 2 inputs from stdin and write 2 outputs to stdout

HW3 AES using Crypto++ library

Homework:

I. Use the template plaintext and key to encrypt the plaintext using AES in ECB mode with PKCS_PADDING, CBC mode with ONE_AND_ZEROS_PADDING, and CFB mode with feedback size = 2.

II. Use the template ciphertext to decrypt the ciphertext using AES in ECB mode with PKCS_PADDING. We have to find the key which is a 16-byte string between 0000000000000000 and 0000000000099999.

III. Do the same as I and II but with stdin plaintext in I and stdin ciphertext in II.

Onsite test: Decrypt the ciphertext using AES in CFB with feedback size = 2, 4, or 8 and key is of form Our key is: XXXX where XXXX is a 4 HEX digit string.

HW4 RSA using Crypto++ library

Homework: Do either encryption or decryption using RSA, where the input format is enc n e m for encryption and dec n d c for decryption.

Onsite test: Use RSA encryption as a binary keystream generator. The input format is L n e X₀. The output is a 32-bit binary string where each bit is generated by encrypting X₀ and X₀ is updated by RSA encryption.

HW5 SHA-256 using Crypto++ library to build a blockchain

Homework: Implement a blockchain. The initial block message is your student ID.

crypto2024's People

Contributors

dytsou avatar

Watchers

 avatar

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.