At 21:14 -0500 2003.05.22, Taylor Leaming wrote:I need to code some software which uses the following modules, using MacPerl 5.6.1r2 (Mac OS 9.2.2):
SHA-2.01 Digest-SHA1-2.02 Digest-HMAC-1.01 (installs OK, works with MD5, but not SHA1)
Unfortunately, I am thus far unable to locate a Mac port for the SHA1 stuff.
If anyone has done this successfully, I would like very much to hear from you.
Not that I know of, but you can try building it yourself:
http://usemacperl.esmartweb.com/#download_xs_tut
FYI, SHA-2.01 is depreciated. This module (SHA.pm) is just a thin wrapper around the Digest::SHA1
module. Digest-HMAC-1.01 is a pure Perl module, but the Digest::MD5 module and Digest::SHA1 module must be installed. Digest-SHA1-2.02 is an extension module that needs to be built (like Digest::MD5, which comes with MacPerl 5.6.1).
Fortunately, I was able to build Digest-SHA1-2.02 for MacPerl 5.6.1 on Mac OS Classic :).
You can download the Digest-SHA1-2.02-bin56Mac.tgz tarball from my CPAN directory
$CPAN/authors/id/T/TW/TWEGNER/
(I have just uploaded, so it may take a while until it is available on your nearest CPAN server.)
All tests pass, but let me know of any problems you might encounter.
Regards, Thomas