# SHA-2 Hashing Hashes a message using the SHA-2 algorithm. Source library: `cryptography` ## Parameters - **key1**: The first key to hash. - **algorithm**: The SHA-2 algorithm to use.