clean rsa of bits-twiddling
rig rsa for new rng