And nowadays we would probably use the discrete logarithm problem or factoring integers as the one-way functions of choice.
(And we'd use a cryptographic hash function anyway.)
A simple consequence is that we need something like 1024 bits for a strong RSA key, but SHA-256 is still miles out of reach of being attackable.