You can use SHA-1 (Digest::SHA1) and the bigger versions of it SHA-256, SHA-384 and SHA-512 (collectively known as SHA-2) (Digest::SHA2). The interface should be nearly identical. In this case, more bits means more secure, more bytes to save, and longer computing times.
Here seems a good place to start.