-
-
31 Jul 2008 03:03:50 UTC
- Distribution: Crypt-Juniper
- Module version: 0.02
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (560 / 0 / 1)
- Kwalitee
Bus factor: 0- 98.95% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (31.55KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Carp
- Test::Exception
- Test::More
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Crypt::Juniper - Encrypt/decrypt Juniper $9$ secrets
VERSION
Version 0.02
SYNOPSIS
use Crypt::Juniper; my $secret = juniper_decrypt('$9$LbHX-wg4Z'); ## $secret="lc"; my $crypt = juniper_encrypt('lc'); ## encrypt it
EXPORTED FUNCTIONS
juniper_decrypt($crypt)
Decrypt the string
$crypt
, returning the corresponding plain-text. Input string must be of the format "$9$blahblah". This function will die() if there any processing errors.juniper_encrypt($secret)
Encrypt the plain text
$secret
, returning a result suitable for inclusion in a Juniper configuration.AUTHOR
kevin brintnall,
<kbrint at rufus.net>
COPYRIGHT & LICENSE
Copyright 2008 kevin brintnall, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Crypt::Juniper, copy and paste the appropriate command in to your terminal.
cpanm Crypt::Juniper
perl -MCPAN -e shell install Crypt::Juniper
For more information on module installation, please visit the detailed CPAN module installation guide.