# Is there a way to hash a turing machine?

If we have a Turing machine with various $$\delta(q_i, a_i) = (q_j, a_j, Direction)$$ where Direction can be L or R(denoting the movement of head), can we encode it uniquely to some natural number(which can later be decoded to give us back the deltas) ? It doesn't matter if all the natural numbers map one-to-one to all the Turing machines.