Apple interview question

Q. how to encrypt passwords