Use sha512.hash() instead of .encrypt()
Use sha512.hash() instead of .encrypt()

Now that we have switched to passlib 1.7.0, remove the temporary
workaround and use the new function.

Change-Id: Id574221f65d72a763b8205df0891b6e300856230
Depends-On: I6525dc8cf305ae03b81a53ac7fd06bf63d4a6d48
Closes-Bug: 1644263

rajalokan/keystone,ilay09/keystone,mahak/keystone,openstack/keystone,mahak/keystone,ilay09/keystone,rajalokan/keystone,openstack/keystone,rajalokan/keystone,ilay09/keystone,mahak/keystone,openstack/keystone