Crypt::Keyczar - Keyczar is an open source cryptographic toolkit |
Crypt::Keyczar - Keyczar is an open source cryptographic toolkit
use Crypt::Keyczar::Crypter; my $crypter = Crypt::Keyczar::Crypter->new('/path/to/your/crypt/keys'); my $cipher_text = $crypter->encrypt("Secret message); my $plain_text = $crypter->decrypt($cipher_text);
use Crypt::Keyczar::Signer; my $signer = Crypt::Keyczar::Signer->new('/pat/to/your/sign/keys'); my $sign = $signer->sign("Public message"); $signer->verify('Public message', $sign) ? 'OK' : 'NG';
Keyczar is an open source cryptographic toolkit designed to make it easier and safer for devlopers to use cryptography in their applications. Keyczar supports authentication and encryption with both symmetric and asymmetric keys. Some features of Keyczar include:
* A simple API
* Key rotation and versioning
* Safe default algorithms, modes, and key lengths
* Automated generation of initialization vectors and ciphertext signatures
* Perl, Java, Python, and C++ implementations
bin/keyczar, the Crypt::Keyczar::Crypter manpage, the Crypt::Keyczar::Signer manpage, the Crypt::Keyczar::FileReader manpage, http://www.keyczar.org/
Hiroyuki OYAMA <oyama@mixi.co.jp>
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
http://www.apache.org/licenses/LICENSE-2.0
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.
Crypt::Keyczar - Keyczar is an open source cryptographic toolkit |