SHA-1 is deprecated because it no longer offers adequate collision resistance. SHA-256 is the modern default for signatures, package integrity, and file verification.
Migration tips: start producing SHA-256 in parallel with SHA-1 for a transition period, update documentation and APIs, then drop SHA-1. For passwords, use a KDF like PBKDF2.
Try: SHA-1, SHA-256, Verify SHA-256