Cris Pini > SagePay-XORForm-0.01 > SagePay::XORForm

Download:
SagePay-XORForm-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source   Latest Release: SagePay-XORForm-0.05

NAME ^

SagePay::XORForm - Perl extension for SagePay XOR form encryption

SYNOPSIS ^

  use SagePay::XORForm;
  
  my $obj = SagePay::XORForm->new(query_string => 'my form details string', key => 'my password string to encrypt with');

  my $encrypted_str = $obj->sage_xor_string;  

DESCRIPTION ^

Documentation for SagePay::XORForm. This module has been created to help ease the pain in creating a Perl side solution with the SagePay Form integration where an XOR encryption type format is required when posting data

new()

Class constructor, simply pass the query string and password key strings in, the module will croak without these values included. NB you must know what your account password is as this will serve as the key

sage_xor_string()

Call this method and the encrypted XOR string will be returned

Dependencies ^

MIME::Base64

SEE ALSO ^

SagePay documentation - http://www.sagepay.com/sites/default/files/pdf/user_guides/sagepayformprotocolandintegrationguidelines.pdf

AUTHOR ^

Cris Pini, <cris@perlconsulting.co.uk<gt>

COPYRIGHT AND LICENSE ^

Copyright (C) 2012 by Cris Pini

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

syntax highlighting: