Generate SHA-1 hashes for your data.
SHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function that takes an input (data of any size) and produces a fixed-size 160-bit (20-byte) hash value. This hash is a unique fingerprint of the input data.
While SHA-1 was widely used, it is now considered cryptographically broken for security-sensitive applications. For new projects, use stronger hash functions like SHA-256 or SHA-512.
Example 1: Input: "Hello, world!" Output: (SHA-1 hash)