modify RSA numbers loading to match elliptic curve

fixes #1111