SagePay::XORForm - Perl extension for SagePay XOR form encryption
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;
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
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
Call this method and the encrypted XOR string will be returned
Cris Pini, <email@example.com<gt>
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.