P2P Validator interview question

Whats the difference between encoding and encryption?