Domanda di colloquio di Five9

How to create an algorithm that encrypt a password.