A new attack on RSA and Demytko's elliptic curve cryptosystem. (3rd April 2019)