Randomized Algorithm
- •
- •
Distinguish from
- •
a deterministic algorithm, which always produces the same output for the same input
- •
- •
Key idea
- •
a randomized algorithm effectively defines a random variable — a distribution over its possible outputs, for each fixed input
- •
- •
Example
- •
probabilistic encryption: defines a distribution over ciphertexts, for a fixed key and message, as varies
- •
- •