Sign a file or message : PGP « System Functions « Perl






Sign a file or message

    
#!/usr/bin/perl

use warnings;
use strict;
use PGP::Pipe;

my $pgp = PGP::new;
my $file = "myfile.dat";
my $password = "password";
print $pgp->Sign(File => $file, Password => $password, Armor => 1);

   
    
    
    
  








Related examples in the same category