Tandem Diabetes interview question

What's the difference between hashing and encryption?