I think I understand why RSA is hard to attack but I'd like to get clarification if I actually do.
Assume there are two people, Alice and Bob, who are attempting to communicate privately but that we can listen to all of their messages to each other. Assume we know they're attempting to communicate using RSA and that Alice has sent $n$ and $e$ to Bob and Bob has sent $c$ to Alice. Because we know they're using RSA, we also know that $n$ is the product of some primes $p$ and $q$, that $e\in\mathbb{N}$ with $1<e<\phi\left(n\right)$ (notice that $\phi\left(n\right)$ is hard to calculate because we do not know $p$ and $q$, but this has no significance in terms of the bounds of $e$ since we know $e$ explicitely), and that $e$ is relatively prime (aka coprime) to n (i.e. $\text{gcd}\left(e,n\right)=1$).
We know that Bob's message to Alice can be expressed in terms of $n$, $e$, $c$, and Bob's intended message, $m$ given by $c\equiv m^{e}\bmod{n}$. For the sake of thoroughness, we also know $m<n$.
I hope this is right so far.
Tactic 1
As an attacker, we want to find $m$, and since we have an equation including it, one way to go about finding it is to re-express said equation.
$c\equiv m^{e}\bmod{n}$
implies
$\exists k\in\mathbb{N}:m^{e}=c+kn$
implies
$\exists k\in\mathbb{N}:m=\left(c+kn\right)^{\frac{1}{e}}$
Now comes my question! As the attacker, in order to find $m$, we'd have to try all $k$'s in the natural numbers until we found an $m$ that looked like a message--and even then, even if it's intelligible, it's possible what we've found is still actually not Bob's intended message. Is this a correct assertion? Is this a possible yet obviously futile attack? (Further questions: Is it possible for the attacker to verify if the $m$ computed via the above method is equivalent to Bob's $m$ using the assumptions above? If yes, if someone were to execute this attack, how long on average would it take to find the correct $m$ given $m$ is random?)
Tactic 2
Another tactic we might take would be to compute Alice's secret key, $d$, such that $ed\equiv1\bmod{\phi\left(n\right)}$ (i.e. $d$ is the multiplicative inverse of $e\bmod{\phi\left(n\right)}$). We can, again, re-express this.
$ed\equiv1\bmod{\phi\left(n\right)}$
implies
$\exists j\in\mathbb{N}:1=ed+j\phi\left(n\right)$
implies
$\exists j\in\mathbb{N}:d=\frac{1-j\phi\left(n\right)}{e}$
Now the second question! As the attacker, calculating $\phi\left(n\right)$ is hard. This is because there are two ways we could calculate this: 1) by the definition, i.e. the cardinality of the set of relatively prime numbers to $n$ (which would take at most $\sqrt{n}$ steps, right?) or 2) since we know $n$ is the product of 2 relatively prime numbers, attempt to find $p$ and $q$ and then $\phi\left(n\right)=\left(p-1\right)\left(q-1\right)$. This is hard to do for large $n$. Is this correct assertion?
Actually, wait, I've caught myself. Because even after calculating $\phi\left(n\right)$, we'd still have to find $j$, no?
Could someone answer these questions and possibly answer succinctly way attacking RSA is hard? I feel like I'm so close and just need a little help-nudge.