[pod] [xml]

名前

Crypt::Rijndael - Crypt::CBC対応のRijndael暗号化モジュール

概要

 use Crypt::Rijndael;
 # keysize() は32, しかし24 と 16も可能です
 # blocksize() は 16です
 $cipher = new Crypt::Rijndael "a" x 32, Crypt::Rijndael::MODE_CBC;
 $cipher->set_iv($iv);
 $crypted = $cipher->encrypt($plaintext);
 # - あるいは -
 $plaintext = $cipher->decrypt($crypted);

説明

このモジュールは、次世代暗号化標準(Advanced Encryption Standard)として 選ばれたばかりのRijndael暗号を実装します。

参考資料

  L<Crypt::CBC>, http://www.csrc.nist.gov/encryption/aes/

バグ

定数MODEをEXPORTあるいはEXPORT_OKしなければなりません。

作者(=AUTHOR)

 Rafael R. Sevilla <sevillar@team.ph.inter.net>
 The Rijndael Algorithm was developed by Vincent Rijmen and Joan Daemen,
 and has been selected as the US Government's Advanced Encryption Standard.

翻訳者

川合孝典 (GCD00051@nifty.ne.jp)