Correct me if I'm wrong, but won't the white noise near the source mostly just affect the perception of sounds for the person in the toilet, and less so for the people outside?
Kind of like if you're doing the dishes and have the water running, people can hear you just fine, but you can't hear anything that's said to you.
I know in psychologists' offices they often have the white noise device in the waiting room for this reason.