Fixed Issue #1 Create method to generate encrypted password