GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gantry::Utils::Crypt(3) User Contributed Perl Documentation Gantry::Utils::Crypt(3)

Gantry::Utils::Crypt - an easy way to crypt and decrypt

    use Gantry::Utils::Crypt;
    
    my $crypt_obj = Gantry::Utils::Crypt->new ( 
        { secret => 'my_secret_encryption_string' }
    );

    my $encrypted_string = $crypt->encrypt( 'red', 'blue', 'green' );
    my @decrypted_values = $crypt->decrypt( $encrypted_string );

This module is a utillity to help with encryption and decryption.

new
Standard constructor, call it first.

Requires the following parameter

    secret       # this is your super secret encryption key
    
encrypt( 'value' [, ... ] )
encrypts and returns the encrypted string
decrypt( 'string' )
decrypts and returns the values

Gantry(3)

This module depends on Gantry(3)

Tim Keefer <tkeefer@gmail.com>

Copyright (c) 2005-7, Tim Keefer.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.

2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.