spewn
Programmer
- May 7, 2001
- 1,034
i'm trying to encrypt and email using SHA-1.
here's my code:
this definitely gives me a value, that appears encrypted. did i do this code right?
thanks!
- g
here's my code:
Code:
#!/usr/bin/perl
use CGI qw(:standard);
use Digest::SHA1 qw(sha1_hex);
$cgi = new CGI;
$x='test@mail.com';
$epassnew=sha1_hex($x);
print $cgi->header();
print $epassnew;
this definitely gives me a value, that appears encrypted. did i do this code right?
thanks!
- g