Encryption practice test question - confused :)

Status
Not open for further replies.

elisabeth_

Reputable
May 14, 2015
19
0
4,510
Hey everyone,

I'm working through some practice test questions but have hit a wall with this one:

14bhyis.jpg


I'm unsure of how to even begin figuring it out - can anyone share some tips? 🙂

Thanks! x
 
Quite simple:

Each row is a 5-bit binary.

Convert the 5-bit binary to decimal using the rule outlined.

Add 17 to the result and apply the modulo function. The result is the encrypted value. Convert to a 5-bit binary and fill in an empty grid.

The modulo function returns the remainder after evenly dividing the given value (in this case 32) as many times as possible into the number that results after the addition.

Some examples:

1 Mod 32 = 1
33 Mod 32 = 1
32 Mod 32 = 0
64 Mod 32 = 0
75 Mod 32 = 11
 
Status
Not open for further replies.