Secure Message of Integers
CodeChefOpen on judge ↗
Alice wants to send a secret message to Bob over an insecure channel by encrypting it so that no hacker can eavesdrop. $\underline{\textbf{Assumptions:}}$ - $P$ is the plaintext which represents the original message and consists of $m$ 8-bit unsigned integer numbers separated by one whitespace, i.e., $P$ = $\{n_0 n_1 n_2 n_3 \cdots n_{m-1}\}$ where each $n_i$ is an 8-bit unsigned integer number.
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start