Skip to main content
2 of 2
replaced "Field" with "Ring" as it's more correct here, improved formatting and style
SEJPM
  • 46.8k
  • 9
  • 103
  • 216

Is the One Time Pad secure in additive Rings?

Let's assume all operations are done on $\mathbb{Z}_p$ where $p$ is a large non-prime number.

To mask a value $a$, we do the following:

  1. Pick a uniformly random value: $r$, from the ring.

  2. Do as follows: $c= r+a \bmod p$.

Question: Is the above one-time pad secure?

user153465
  • 1.6k
  • 12
  • 23