One task that often arises in programming is how to securely save the password entered by users.
There are at least two types of password that need to be saved. The first one is a password that is intended to be used as user authentication such as a login to a website. The second one is a password that will be used to access other service. An example for this type is your password in email client program that will be sent to email server to access your account.