Fallback to sha256 if check fails