Updated to use Digest::SHA