Added hashing function for passwords...

- consistent with change in my1apisrv
- using borrowed sha512 code...