Is the word "trust" used in the same way in the following two sentences?

We can trust in God.

In God We Trust -- written on denominations of US currency.
the same meaning