java string operation



Hi

I have 2 string containing login info. I need a reversible opertion to mix them together.
e.g
C = op(A, B)
op'(C) -> A B

Thanks

.