Documentation

RC2.php

Pure-PHP implementation of RC2.

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('abcdefgh'); $plaintext = str_repeat('a', 1024); echo $rc2->decrypt($rc2->encrypt($plaintext)); ?>
Tags
category

Crypt

author

Patrick Monnerat pm@datasphere.ch

license

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

link
http://phpseclib.sourceforge.net

Table of Contents

Classes

RC2
Pure-PHP implementation of RC2.

        
On this page

Search results