Amesite interview question

How would you password-encrypt an application?