Nota: La traducción de esta entrada está actualmente en revisión de calidad, por lo que parte del contenido se muestra temporalmente solo en inglés.
Esta entrada aún no se ha traducido a tu idioma, así que se muestra el original a continuación.
xor
This term is a technical portmanteau of "exclusive or," used primarily in computer science, digital electronics, and cryptography. It describes a specific logic gate where the output is high only if the inputs are different, distinguishing it from the inclusive "or" which allows both inputs to be true.
In professional contexts, it is treated as a standard operator. While it functions as a noun referring to the operation itself, its use as a verb is common in programming and engineering to describe the act of applying this bitwise operation to data.
Meanings
Examples
The circuit uses an xor gate to detect differences between two signals.
You can xor the plaintext with a secret key to encrypt the data.
I need to xor these two bitstrings to find the parity.
Wait, did you xor the values before applying the mask?
The symmetric difference of two sets is essentially a logical xor.
The symmetric difference of two sets is essentially a logical xor.
Just xor the register with zero to clear it if the architecture allows.
An xor operation returns true if and only if the inputs are different.
The algorithm will xor the checksum with the received packet.