Documentation

Twofish.php

Pure-PHP implementation of Twofish.

Uses mcrypt, if available, and an internal implementation, otherwise.

PHP version 5

Useful resources are as follows:

Here's a short example of how to use this library:

setKey('12345678901234567890123456789012'); $plaintext = str_repeat('a', 1024); echo $twofish->decrypt($twofish->encrypt($plaintext)); ?>
Tags
category

Crypt

author

Jim Wigginton terrafrost@php.net

author

Hans-Juergen Petrich petrich@tronic-media.com

copyright

2007 Jim Wigginton

license

http://www.opensource.org/licenses/mit-license.html MIT License

link
http://phpseclib.sourceforge.net

Table of Contents

Classes

Twofish
Pure-PHP implementation of Twofish.

        
On this page

Search results