Apple Interview Question

Q. how to encrypt passwords