Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Probabilistic encryption
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Examples == Example of probabilistic encryption using any trapdoor permutation: * ''x'' - ''single bit'' plaintext * ''f'' - [[trapdoor permutation]] (deterministic encryption algorithm) * ''b'' - [[hard core predicate]] of ''f'' * ''r'' - random string <math> {\rm Enc}(x) = (f(r), x \oplus b(r)) </math> <math> {\rm Dec}(y, z) = b(f^{-1}(y)) \oplus z </math> This is inefficient because only a single bit is encrypted. In other words, the message expansion factor is equal to the public key size. Example of probabilistic encryption in the random oracle model: * ''x'' - plaintext * ''f'' - [[trapdoor permutation]] (deterministic encryption algorithm) * ''h'' - [[random oracle]] (typically implemented using a publicly specified [[cryptographic hash function|hash function]]) * ''r'' - random string <math> {\rm Enc}(x) = (f(r), x \oplus h(r)) </math> <math> {\rm Dec}(y, z) = h(f^{-1}(y)) \oplus z </math>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)