Help me implement 8-bit (binary) security code with all the combinations

Status
Not open for further replies.

sachinmaheshwari

Member level 4
Joined
Aug 7, 2007
Messages
69
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,743
can anybody help me with the logic?

i have to implement 8-bit(binary) security code with all the combination i.e 256
then the output is XOR with the input and if the result is zero then print the desired result.
 

Re: need the logic?

be clear with question,not readable
 

Re: need the logic?

what i want to say is:

question is based on secured communication.

have to find all the combination of 8-bit (binary number)

suppose you have 10101010 binary number and you have to generate this combination. so what should be the logic.

then the output is XOR with the input and if the result is zero i.e.( both are same) then print the desired result.
 

Re: need the logic?

Try CRC (cyclic code) concept.
In this concept,at Transmiter end message sequence is encoded with CRC bit.Then same is transmited.
At reciever end again CRC is calulated for recieved message sequence and compared with received CRC bit.IF matched received sequence is error free,else again request for retransmission to transmiter.

Above entire concept is based on modulo-2 i.e XOR operation.

If my logic correct ,please do let me know.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…