how to calculate bitwise operation back
-
28-02-2021 - |
Вопрос
i want to crypt some informations with bitwise operations.
For example two numbers with bitwise or: 8 and 1 to 9.
But how can i encrypt it it to get my root nombers?
greetz
Решение
You can use a bitwise xor to achieve this, it's known as a xor cipher.
Другие советы
OR is not reversible. XOR is reversible.
From all bitwise operations only XOR is reversible. Look for XOR-cipher, the easiest way to encrypt your data. In your case you still have to know at least one number from both to restore the second one! There is no way that you can restore both.
Не связан с StackOverflow