RSAUtils improved