Perl SHA digest


You want to generate a SHA digest for a given string.



Perl has great encryption and digesting algorithms.

In the example tab we use the Digest Perl module.



perl -M'Digest::SHA1 qw(sha1_hex)'
-e '$dig=sha1_hex("my big test"); print "$dign";'




[tags]Perl SHA Digest, Perl, SHA, Encryption, Perl Coding School[/tags]


If you have found my website useful, please consider buying me a coffee below 😉

Leave a Reply

Your email address will not be published. Required fields are marked *