Python : Insecure RSA implementation (BERserk attack)