Crypt::Keyczar::Encrypter - used strictly to encrypt data
my $encrypter = Crypt::Keyczar::Encrypter->new('/path/to/keyset');
my $cipher_text = $encrypter->encrypt('Secret message');
my $key_reader = Crypt::Keyczar::FileReader->new('/path/to/keyset');
$encrypter = Crypt::Keyczar::Encrypter->new($key_reader);
$cipher_text = $encrypter->encrypt('Secret message');
Crypt::Keyczar::Encrypter are used strictly to encrypt data. Typically, Encrypters will read sets of symmetric keys, although may also be instantiated with set of public keys.
Create a new Encrypter with a file-based keyset location. This will attempt to read the keys using a Crypt::Keyczar::FileReader. The corresponding key set must have a purpose of either crypt.
Encrypt the given $input. return the encrypted cipher text.
"keyczar" in bin, Crypt::Keyczar, Crypt::Keyczar::Crypter, http://www.keyczar.org/
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:
=back doesn't take any parameters, but you said =back 4
To install Crypt::Keyczar, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.