Working RSA library