Implement password function and manually test.