databus

January 9th, 2013, 14:48

I'm trying to do a keygen from crackmes.de and I'm not sure how to solve for B and for A using the AND instruction

I can do it manually with the truth table, and I can also convert it to a character array and try to solve it.

However, there has to be an easier way to do this (a way thats not overkill)

How can I solve for A if I have both B and C, and how can I solve for B if I have both C and A, using only bitwise operators? I couldn't find any formula to do this, and I know that no single operand can do it either.

Thanks

I can do it manually with the truth table, and I can also convert it to a character array and try to solve it.

However, there has to be an easier way to do this (a way thats not overkill)

How can I solve for A if I have both B and C, and how can I solve for B if I have both C and A, using only bitwise operators? I couldn't find any formula to do this, and I know that no single operand can do it either.

Thanks