use hash_type: sha512