大神,求救一下,搞不懂他是要什么意思?(说代码里不许用for和while) Question 1) Writing a Caesar shift variant cipher Inthis cipher, we will operate over binary data instead of lower case charactersand we use XOR instead of shifting to encode each character. Givena key k of type char Givenan input of type char-array, produce an output ofthe same length such that the ith character of the output is ith characterof input k Part a) Writea function in R to perform a variant of the Caesar shift. Itshould take a char-arrays input and a char key, and return a char-array that isthe encoded text Part b) Writea function as in a) that takes an extra integer parameter n.Instead of shifting every character, shift only every n’thcharacter