Use the stdlib digest_compare if available