Encryption versus encoding versus hashing