I found multiple optimal CRC-32 polynomials on the CRC Polynomal Zoo site of Philip Koopman. Now I want to generate a CRC lookup table for one of the ...
I found multiple optimal CRC-32 polynomials on the CRC Polynomal Zoo site of Philip Koopman. Now I want to generate a CRC lookup table for one of the ...
Input: 1 3 1 2 1 Output:2 Input: 1 9 1 2 3 4 5 1 4 3 2 Output:5 The objective is to find the odd one that has no pair in the input, the first li ...
I would like to ask how to make a 2 bit comparator using only the XOR gate to check if the numbers are equal is it possible to build such a comparato ...
I have a method and I want it to return true if all 3 statements are true. In case any of them is false the method should return false. I am using ...
Find X such that (A ^ X) * (B ^ X) is maximum Given A, B, and N (X < 2^N) Return the maximum product modulus 10^9+7. Example: Here is my code ...
I found the code of logical gate xor written in Haskell, but I don't know what does this "(/=)" mean! ...
Given lengths a,b,c,d. find wether a rectangle can be formed or not? if yes return 1 or else 0. I am using hashmap and xor operation and i want to kno ...
So. A normal full adder that have 3 inputs A, B, Ci (carry in) and 2 outputs S (Sum), Co (Carry-out). After doing truthtable and K-map we get the func ...
i have to encrypy a string using repeating XOR with the KEY:"ICE". I think that i made a correct algorith to do it but the solution of the problem has ...
so i have binary and i want to XOR every letters, like the example binary from word "maru" : but i only can get all the binary of the word "maru" = ...
I'm trying to compute an xor in bash, and the simplest way I have found so far is to use the $(( )) construct, like this: However, I need to xor tw ...
I have a code written in JS of parsing x,y,z into 1 number. Is it possible to somehow revert the operation and get x,y,z back by only knowing the fin ...
I would like to know if it is possible to create a function, using logic gates for binary numbers, such that i can go back to the two variables a and ...
I've been reading XOR questions for hours now, but have yet to find one that addresses my problem. It's probably an issue of using the wrong terminolo ...
There was a great post about XOR filters a while back: What is an XOR filter? Can someone provide an explanation about the binary fuse filter? How do ...
The following posting offers guidance on how to implment a carryless mulitplicative inverse. However, a simple implementation for 8-bit value pairs do ...
HackerRank link In this challenge, you will use logical bitwise operators. All data is stored in its binary representation. The logical operators, an ...
. Answers to this question are eligible for a +50 reputation bounty. Ax ...
I'm having trouble encrypting bytes from a PyObject using XOR. For now I only managed to print the bytes as an encoded string (with PyUnicode_AsEncode ...
I am implementing an encryption algorithm and was wondering if there was a more efficient way than O(n) for xoring two unsigned char arrays? I essenti ...