paint-brush
Why Is XOR the Perfect Cipher?by@wagslane
4,119 reads
4,119 reads

Why Is XOR the Perfect Cipher?

by Lane Wagner2mMay 23rd, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

XOR is a simple bitwise operation that allows cryptographers to create strong encryption systems. It is the primary operation in the “add round key” step of AES-256(/cryptography/aes-256-cipher/). It is also used in the DES cipher. XOR, or “exclusive or” operates on binary data. It returns true if both of its inputs are opposites (one false and one true), otherwise, it returns false. The XOR cipher isn’t used in production because it is impractical to use keys that are the same length as the message body.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Why Is XOR the Perfect Cipher?
Lane Wagner HackerNoon profile picture
Lane Wagner

Lane Wagner

@wagslane

Founder of Boot.dev. Whining about coding sins since 2011. Committing coding sins for the same.

About @wagslane
LEARN MORE ABOUT @WAGSLANE'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Lane Wagner HackerNoon profile picture
Lane Wagner@wagslane
Founder of Boot.dev. Whining about coding sins since 2011. Committing coding sins for the same.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite