[pod] [xml]

名前

Crypt::Twofish - Twofish暗号化アルゴリズム

概要

use Crypt::Twofish;

$cipher = Crypt::Twofish->new($key);

$ciphertext = $cipher->encrypt($plaintext);

$plaintext = $cipher->decrypt($ciphertext);

説明

Twofishは可変長の鍵(128, 192,又は256bit)が扱える128bitブロックの対称暗号法 で、Counterpane Labsによって開発された。特許が無く全てのユーザーが自由に 使える。解説としては <URL:http://www.counterpane.com/twofish.html>

このモジュールはTwofishの暗号技術を実装しており、Crypt::CBCインターフェースを 以下に記述された関数によってサポートしている。Crypt::Twofish1.0に関して呼び 出しに互換性のある関数も提供しているが、新しいコードで使用することはけして お勧めできない。

関数

参考文献

Crypt::CBC, Crypt::Blowfish, Crypt::TEA

謝辞

作者

Abhijit Menon-Sen <ams@wiw.org>

Copyright 2001 Abhijit Menon-Sen. All rights reserved.

This software is distributed under the terms of the Artistic License <URL:http://ams.wiw.org/code/artistic.txt>.

翻訳者

三浦真磁<snj@users.sourceforge.jp>