phpseclib

phpseclib

  • Docs
  • API
  • Support
  • GitHub
  • For Enterprise

phpseclibPHP Secure Communications Library

Pure-PHP implementations of:
SSH
SFTP
RSA / DSA / Elliptic Curves
AES / ChaCha20 / etc
X.509

Portability

phpseclib is designed to be ultra-portable. The 3.0 version works on PHP 5.6+ and doesn't require any extensions. For purposes of speed, OpenSSL, GMP, libsodium or mcrypt are used, if they're available, but they are not required.

Interoperability

phpseclib is designed to be fully interoperable with standardized cryptography libraries and protocols.

phpseclib
Docs
IntroductionSSH2 / SFTPPublic Key CryptoSymmetric Key CryptoX.509 / CSR / SPKAC / CRLInteroperability
Support
Docs (1.0 / 2.0)Stack OverflowGitHubStar
Sponsor
PatreonGitHubPayPal
Copyright © 2023 Jim Wigginton