With hidden services Tor encrypts data up to, but not including, the time that it has already arrived to the server. With non-hidden services, Tor encrypts data up to the point just prior to it arriving at the server, the exit node decrypts the final layer to reveal the plaintext. This means that exit nodes can spy on plaintext data sent through Tor to the normal internet.