Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
124 views
in Information Technology by (120k points)
closed by

Find the error in the Decryption pseudo code for RC5 -

for i = 1 to r do

RDi-1 = ((RDi - S [2xi+1] >>> LDi ) ⊕ LDi);

LDi-1 = ((LDi - S [2xi] >>> RDi-1) ⊕ RDi-1);

B= RD0 + S [1];

A = LD0 - S [0];

(a) B= RD0 + S [1];

(b) for i = 1 to r do

(c) LDi-1 = ((LDi - S [2xi] >>> RDi-1) ⊕ RDi-1);

(d) A = LD0 - S [0];

1 Answer

0 votes
by (119k points)
selected by
 
Best answer
Correct choice is (a) B= RD0 + S [1];

Easy explanation: B= RD0 + S [1]; is incorrect as there should be a ‘-’ instead.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...