|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi Frens,
This is my first post here, I am trying to learn more about Bitwise operators. I want to hide the parameters in my java code. The logic i am trying to use is i use bitwise xor operator to encrypt the value and then use the encrypted value. but i don't know how to get it back. for example if i do (') XOR (\034) i get (w). now how do i get back (') from (w). any other bitwise operator which can reverse the results of the XOR operator. ne pointers for this are welcome................. TIA |
|
#2
|
|||
|
|||
|
10101010 (eg if this was ' but its not
xor'ed with11001100 (your w) -------- gives 01100110 (encrypted) 01100110 xor encrypted 11001100 with w again -------- gives 10101010 ' again hope this helps dude. |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Bitwise XOR operator |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|