Crypt::Keyczar::Crypter - Crypter may both encrypt and decrypt data.
use Crypt::Keyczar::Crypter; my $crypter = Crypt::Keyczar::Crypter->new('/path/to/keysets'); my $ciphertext = $crypter->encrypt('Secret message'); my $plain_text = $crypter->decrypt($ciphertext);
Create a new Crypt::Keyczar::Crypter with a Crypt::Keyczar::Reader object.
Encrypt the given $input. return the encrypted cipher text.
Decrypt the given $input ciphertext. return the decrypted plain text.
Hiroyuki OYAMA <firstname.lastname@example.org>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
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.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 81:
=back doesn't take any parameters, but you said =back 4