Add functions for password encryption and verification, along with tests for those functions