phpseclib: An Introduction

Pure-PHP implementations of:

Download phpseclib 0.3.6

Get Support

Compatibility

phpseclib is designed to be ultra-compatible. It works on PHP4+ (PHP4, assuming the use of PHP_Compat) and doesn't require any extensions. For purposes of speed, mcrypt is used if it's available as is gmp or bcmath (in that order), but they are not required.

Interoperability

phpseclib is designed to be fully interoperable with OpenSSL and other standardized cryptography programs and protocols.

MIT-Licensed

phpseclib is licensed with the MIT-license. By virtue of not being copyleft it's less restrictive than the GPL, which in turn, means that it's fully GPL compatible.

Usage

This library is written using the same conventions that libraries in the PHP Extension and Application Repository (PEAR) used to be written in (current requirements break PHP4 compatibility). In particular, this library needs to be in your include_path:

<?php
set_include_path(get_include_path() . PATH_SEPARATOR . 'phpseclib');

include('Net/SSH2.php');
?>

PEAR Icon PEAR Channel:
phpseclib.sourceforge.net

GitHub Icon

Support This Project