Caesar cipher uses a shift of each character by a key with a value between 1 and 255.An a with a shift equal to 3 becomes a d.For the decrypt method below, select the correct body.Assume the key shift property is accessible to the method.
public int decrypt(int b)
{
__________
}
A) return (b - key) ;
B) return (b + key) ;
C) return (b - key % 26) ;
D) return (b - key) % 256) ;
Correct Answer:
Verified
Q31: Which class has a write method that
Q32: What is the highest value for a
Q33: In _ file access, the file is
Q34: In Java, the byte type is a(n)
Q35: What is returned by the read method
Q37: Why does FileInputStream override the read method
Q38: A Caesar cipher uses a shift of
Q39: You cannot read a _ file with
Q40: The read method of the FileInputStream class
Q41: In which of the following modes can
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents