#!/usr/bin/perl use Digest::SHA::PurePerl; my $shaVal = Digest::SHA::PurePerl::sha256('test'); print "SHA value: ", $shaVal, "\n";