Assignment 2
Problems - String conversion:
Implement a function which converts an input string to a set of blocks for cryptographic computation. Specifically, the function should take an input a string and a block size and output a list (or an array) of converted string
Pre/post conditions for the function is as follows:
⚫encode (PN)
- Pre-condition: The function takes a string P, e.g, Phello world' and a block size N. e.g., N-8 (8 bit).
- Intermediate process: It first convert the string into ASCII codes,
e.g., P-104 101 108 108 111 32 119 111 114 108 100,
then split it by the other input N
-Post-condition: It outputs a list of number blocks, e.g.. PL-[104, 101, 108, 108, 111,
32, 119, 111, 114, 108, 100].
⚫ decade (PLN)
. It recovers the original string
Since 8-bit can express 0-255, the function does not need to split the values. It just converts each character and puts into a list. However, if N is greater than 8, you should find a rule to avoid information lost.
The implementation must include Good test codes to demonstrate the correctness of your program.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme