Set MD to sha512 by default.