Fixed initialization of PasswordDeriveBytes.
Renamed initial/ouput(where the same pointer) to one var named hasedPassword
Renamed output2 to output.