Let's say I have a RSA key pair: N, E, D, in which N, E are the public part, D is the private part.
I'd like to split the private part into two pieces, D1 and D2, and store them in two different places. Is it secure if I just choose D1 as a random string (same length as D) and D2 is calculated as D XOR D1?