-
-
24 Nov 2021 07:21:26 UTC
- Distribution: App-Greple
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (202 / 0 / 11)
- Kwalitee
Bus factor: 1- 25.79% Coverage
- License: perl_5
- Perl: v5.14.0
- Activity
24 month- Tools
- Download (85.89KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 3 contributors-
Kazumasa Utashiro
-
Mohammad S Anwar
-
Toshifumi Sakaguchi
NAME
PgpDecryptor - Module for decrypt PGP data
SYNOPSIS
my $pgp = App::Greple::PgpDecryptor->new;
DESCRIPTION
initialize
Initialize object.
Without parameter, read passphrase from terminal.
$pgp->initialize();
Provide passphrase string or file descriptor if available.
$pgp->initialize({passphrase => passphrase}); $pgp->initialize({passphrase_fd => fd});
decrypt
Decrypt data. Pass the encrypted data and get the result.
$decrypted = $pgp->decript($encrpted);
decrypt_comand
Return decrypt command string. You can use this command to decrypt data. Call reset after command execution.
open(STDIN, '-|') or exec $pgp->decrypt_command;
reset
Reset internal status.
Module Install Instructions
To install App::Greple, copy and paste the appropriate command in to your terminal.
cpanm App::Greple
perl -MCPAN -e shell install App::Greple
For more information on module installation, please visit the detailed CPAN module installation guide.