Replace MD5 by SHA-512

Replaced MD5 by SHA-512 and renamed the hash function accordingly.

Signed-off-by: Matthias Nott <matthias.nott@sap.com>