Please write your code in R as an RMD file and submit your script and results for each of the following.
1. Create an integer vector S with values from 1-5. Swap elements 1 and 4. [Hint: use the swap() function in package seqinr. ( 10 points)
2. Create a binary stream of bits for the string "Parabola". (10 points)
3. Create an initialized S vector for RC4. (10 points)
4. Create an initialized K vector for RC4. Assume that key is the UTF8 code of "Complete". (10 points)
5. Using the RC4 algorithm randomize S with 256 iterations. (10 points)
6. Using the RC4 algorithm generates a keystream of 128 bits starting with the output vector S in question 4. Assume that the key is "Complete". (15 points)
7. Implement RC4 for generating key streams. Your function should contain two parameters: a seed and a key length. (20 points)
8. Create an encryption function using RC4 that takes plain text and a key text as input and returns an encrypted stream of bits as output. (5 points)
9. Create a decryption function using RC4 that takes a cipher as a stream of bits and a key text as input and returns an encrypted stream of bits as output. (5 points)
10. Create a function that takes a binary stream as input and returns the corresponding text. (5 points)
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