I was wondering about an algorithm that would take a bitstring as an input, shuffle it and output it. You could use a deterministic RNG to select pairs of bits to swap, using the seed as some sort of password, handing it to people to let them reconstruct the shuffling process. Is this a good idea? Has anyone already thought of this? If not, are there any flaws I would have to bear in mind? I'm a newbie to cryptography and I don't really know how to approach this.
Excuse my poor English grammar and thank you for your time!
EDIT: I forgot to specify that this is for learning purposes.