Hi
I need to use the Digest::SHA1 encryption and decryption functions in some code that i am writing, but unfortunately it isn't installed on the server where my perl script will eventually run.
I am trying (unsuccesfully) to integrate a local copy I have of the Sha1 perl module into my main script, so it wont have to rely on the perl module on the server.
Does anyone have some tips to point me in the right direction? Heres what the perl module Digest::SHA1 looks like
package Digest::SHA1;
use strict;
use vars qw($VERSION @ISA @EXPORT_OK);
$VERSION = '1.02'; # $Date: 1999/08/05 22:58:42 $
require Exporter;
*import = \&Exporter::import;
@EXPORT_OK = qw(sha1 sha1_hex sha1_base64);
require DynaLoader;
@ISA=qw(DynaLoader);
Digest::SHA1->bootstrap($VERSION);
*reset = \&new;
1;
thanks Andres Jugnarain
wireless editor
developer.thetuckshop.com
I need to use the Digest::SHA1 encryption and decryption functions in some code that i am writing, but unfortunately it isn't installed on the server where my perl script will eventually run.
I am trying (unsuccesfully) to integrate a local copy I have of the Sha1 perl module into my main script, so it wont have to rely on the perl module on the server.
Does anyone have some tips to point me in the right direction? Heres what the perl module Digest::SHA1 looks like
package Digest::SHA1;
use strict;
use vars qw($VERSION @ISA @EXPORT_OK);
$VERSION = '1.02'; # $Date: 1999/08/05 22:58:42 $
require Exporter;
*import = \&Exporter::import;
@EXPORT_OK = qw(sha1 sha1_hex sha1_base64);
require DynaLoader;
@ISA=qw(DynaLoader);
Digest::SHA1->bootstrap($VERSION);
*reset = \&new;
1;
thanks Andres Jugnarain
wireless editor
developer.thetuckshop.com