Solstice::Encryption - Solstice's standard two-way encryption library.
use Solstice::Encryption; my $encrypter = Solstice::Encryption->new; my $ciphertext = $encrypter->encrypt($string); my $string = $encrypter->decrypt($ciphertext);
Will encrypt/decrypt a string using the Rijndael algorithm (aes).
No symbols exported.
Constructor. Returns an encrypter object.
Returns the encrypted version of the plain_text_string in URL safe text.
- encryptHex(plain_text_string) Returns the encrypted version of the plain_text_string escaped as hex.
Returns the decrypted version of the encrypted_string
- decryptHex(encrypted_string) Returns the decrypted version of the encrypted string.
Catalyst Group, <firstname.lastname@example.org>
$Revision: 3364 $
Copyright 1998-2007 Office of Learning Technologies, University of Washington
Licensed under the Educational Community License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.opensource.org/licenses/ecl1.php
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.