awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
phpseclib avatar

phpseclib/phpseclib

0
View on GitHub↗
5,572 stele·909 fork-uri·PHP·MIT·7 vizualizăriphpseclib.com↗

Phpseclib

phpseclib is a pure-PHP cryptographic library that provides a comprehensive suite of cryptographic operations entirely without requiring compiled C extensions. At its core, it implements arbitrary-precision integer arithmetic for big-number math, ASN.1 DER encoding and decoding for working with cryptographic data structures, and a full set of pure-PHP cryptographic primitives. The library is designed to operate on PHP 5.6 and above, automatically detecting and using native extensions like GMP or BCMath when available, but falling back to its own pure-PHP implementations when they are not.

The library handles the full lifecycle of cryptographic key management, including loading, saving, and converting keys between PKCS1, PKCS8, OpenSSH, PuTTY, and XML formats. It supports both symmetric encryption with ciphers such as AES, ChaCha20, and Blowfish, and asymmetric encryption with RSA and elliptic-curve algorithms. Digital signature creation and verification are available for RSA, DSA, ECDSA, and EdDSA, while cryptographic hashing, cryptographically secure random byte generation, and Diffie-Hellman key exchange round out the security toolkit.

Beyond raw cryptographic operations, phpseclib implements the SSH-2 protocol for authenticated remote command execution and secure file transfer via SFTP, all in pure PHP. It also provides X.509 certificate parsing, validation, and generation, enabling identity and encryption workflows involving certificates and certificate signing requests. The library's protocol-layer abstraction separates transport, authentication, and channel logic into distinct layers for both SSH and TLS.

Features

  • Cryptographic Key Management - Loads, saves, and converts cryptographic keys in PKCS1, PKCS8, OpenSSH, PuTTY, and XML formats.
  • PHP Security Libraries - Implements a full suite of cryptographic operations entirely in PHP without compiled extensions.
  • General ASN.1 Encoders and Decoders - Provides a pure-PHP ASN.1 parser and encoder for working with cryptographic data structures like certificates and keys.
  • General ASN.1 Parsers - Parses and encodes data in ASN.1 format for use with cryptographic structures like certificates and keys.
  • Symmetric and Asymmetric Ciphers - Encrypts and decrypts data with AES, ChaCha20, RSA, and elliptic-curve ciphers for protecting data at rest or in transit.
  • Asymmetric Signing - Creates and verifies digital signatures using RSA, ECDSA, Ed25519, and DSA keys.
  • Key Format Converters - Loads, saves, and converts cryptographic keys between PKCS1, PKCS8, OpenSSH, PuTTY, and XML formats.
  • Pure-PHP Implementations - Implements cryptographic algorithms entirely in PHP without relying on compiled C extensions.
  • Digital Signatures - Creates and validates digital signatures using RSA, DSA, ECDSA, and EdDSA algorithms.
  • Asymmetric Encryption - Encrypts and decrypts data using RSA and elliptic curve cryptography for public-key operations.
  • X.509 Certificate Parsing and Validation - Parses, validates, and generates X.509 certificates and certificate signing requests.
  • General ASN.1 DER Parsers - Ships a pure-PHP ASN.1 DER parser and encoder for working with cryptographic data structures.
  • Public-Key Access Control - Creates digital signatures using RSA, DSA, or elliptic-curve keys and validates them against a public key.
  • SSH-2 Protocol Implementations - Provides a full pure-PHP implementation of the SSH-2 protocol for secure remote access.
  • Format Conversions - Transforms cryptographic keys between PKCS1, PKCS8, OpenSSH, PuTTY, and XML formats.
  • Symmetric Cipher Implementations - Encrypts and decrypts data using block and stream ciphers like AES, Blowfish, ChaCha20, and others.
  • Symmetric Encryption - Protects data using AES, DES, Blowfish, ChaCha20, and other symmetric algorithms with configurable modes.
  • Arbitrary-Precision Arithmetic - Performs arbitrary-precision integer arithmetic for cryptographic operations like modular exponentiation.
  • X.509 Certificate Parsers - Parses, validates, and generates X.509 certificates and certificate signing requests.
  • SFTP Client Libraries - Ships a pure-PHP SFTP client for secure file upload, download, and remote file management.
  • Protocol Abstraction Layers - Separates transport, authentication, and channel logic into distinct layers for SSH and TLS.
  • SFTP File Transfers - Transfers files over SFTP with encryption and authentication for upload, download, and remote file management.
  • Cryptographic Randomness Providers - Generates cryptographically secure random bytes for keys, nonces, and other sensitive values.
  • Diffie-Hellman Exchanges - Performs Diffie-Hellman key agreement to establish shared secrets over insecure channels.
  • Cryptographic Hash Computations - Computes hash digests using algorithms like SHA-256, SHA-384, SHA-512, and others.
  • Cipher Mode Engines - Supports block and stream cipher modes like CBC, CTR, and GCM via a unified streaming interface.
  • Security and Encryption - Provides secure communications and cryptographic functions.

Istoric stele

Graficul istoricului de stele pentru phpseclib/phpseclibGraficul istoricului de stele pentru phpseclib/phpseclib

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Phpseclib

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Phpseclib.
  • guanzhi/gmsslAvatar guanzhi

    guanzhi/GmSSL

    6,075Vezi pe GitHub↗

    GmSSL is an open-source cryptographic library that implements the Chinese national cryptographic standards SM2, SM3, SM4, SM9, and ZUC as a unified algorithm suite. It provides a comprehensive set of cryptographic primitives including symmetric and asymmetric encryption, digital signatures, hashing, and key exchange, all built around these national standards for government and enterprise security applications. The library distinguishes itself through several integration capabilities. It includes an OpenSSL compatibility layer that maps GmSSL functions to OpenSSL API calls, enabling drop-in re

    Ccryptoencryptionpairing
    Vezi pe GitHub↗6,075
  • digitalbazaar/forgeAvatar digitalbazaar

    digitalbazaar/forge

    5,311Vezi pe GitHub↗

    Forge is a JavaScript cryptography library providing a comprehensive set of tools for symmetric and asymmetric encryption, hashing, and digital signatures. It includes a full Transport Layer Security implementation for establishing secure network connections and managing encrypted traffic. The project implements a wide array of public key infrastructure tools, including X.509 certificate management, the generation of certificate signing requests, and the validation of certificate chains. It provides a PKCS cryptographic toolkit for handling secure archives and signed messages, alongside suppo

    JavaScript
    Vezi pe GitHub↗5,311
  • krzyzanowskim/cryptoswiftAvatar krzyzanowskim

    krzyzanowskim/CryptoSwift

    10,556Vezi pe GitHub↗

    CryptoSwift is a cryptography library implemented entirely in the Swift programming language. It provides a collection of standard cryptographic algorithms for encryption, decryption, and hashing without relying on native C libraries or system frameworks. The library supports symmetric and asymmetric encryption, including RSA key generation and signature management. It features authenticated encryption schemes and the ability to generate cryptographic digests for data integrity verification. The toolset covers message authentication codes, secure key derivation from passwords, and data paddi

    Swiftaesaes-gcmcipher
    Vezi pe GitHub↗10,556
  • weidai11/cryptoppAvatar weidai11

    weidai11/cryptopp

    5,412Vezi pe GitHub↗

    Crypto++ is a comprehensive C++ cryptographic library that implements a broad range of algorithms for symmetric and asymmetric encryption, hashing, and digital signatures. It is designed as a portable toolkit, usable across different operating systems without modification. The library distinguishes itself through its architecture: cryptographic parameters such as key size and mode are configured at compile time via C++ templates, eliminating runtime overhead. Algorithms are registered in a static factory for runtime lookup, while data processing follows a pipeline model of composable sources,

    C++c-plus-pluscryptocryptography
    Vezi pe GitHub↗5,412
Vezi toate cele 30 alternative pentru Phpseclib→

Întrebări frecvente

Ce face phpseclib/phpseclib?

phpseclib is a pure-PHP cryptographic library that provides a comprehensive suite of cryptographic operations entirely without requiring compiled C extensions. At its core, it implements arbitrary-precision integer arithmetic for big-number math, ASN.1 DER encoding and decoding for working with cryptographic data structures, and a full set of pure-PHP cryptographic primitives. The library is designed to operate on PHP 5.6 and above, automatically detecting and using native…

Care sunt principalele funcționalități ale phpseclib/phpseclib?

Principalele funcționalități ale phpseclib/phpseclib sunt: Cryptographic Key Management, PHP Security Libraries, General ASN.1 Encoders and Decoders, General ASN.1 Parsers, Symmetric and Asymmetric Ciphers, Asymmetric Signing, Key Format Converters, Pure-PHP Implementations.

Care sunt câteva alternative open-source pentru phpseclib/phpseclib?

Alternativele open-source pentru phpseclib/phpseclib includ: guanzhi/gmssl — GmSSL is an open-source cryptographic library that implements the Chinese national cryptographic standards SM2, SM3,… digitalbazaar/forge — Forge is a JavaScript cryptography library providing a comprehensive set of tools for symmetric and asymmetric… krzyzanowskim/cryptoswift — CryptoSwift is a cryptography library implemented entirely in the Swift programming language. It provides a collection… weidai11/cryptopp — Crypto++ is a comprehensive C++ cryptographic library that implements a broad range of algorithms for symmetric and… google/end-to-end — This project is an OpenPGP cryptography library designed for encrypting, decrypting, and signing messages according to… sshnet/ssh.net — SSH.NET is a .NET library that implements the SSH-2 protocol for encrypted remote connections and secure file…