Download the PHP package tourze/tls-crypto-curves without Composer

On this page you can find all versions of the php package tourze/tls-crypto-curves. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tls-crypto-curves

TLS Crypto Curves

中文

Latest Version PHP Version Require License Build Status Quality Score Code Coverage Total Downloads

A comprehensive elliptic curve cryptography library for TLS protocol support. This package provides secure implementations of various elliptic curves commonly used in TLS connections, including NIST standard curves and modern alternatives.

Features

Installation

Requirements

Installation via Composer

Quick Start

Basic Usage with NIST P-256

Modern Curve25519 Usage

Working with Different Curves

Supported Curves

Curve Class Key Size Format Security Level Description
P-256 NISTP256 256 bits PEM Standard NIST prime256v1, widely supported
P-384 NISTP384 384 bits PEM High NIST secp384r1, enhanced security
P-521 NISTP521 521 bits PEM Maximum NIST secp521r1, highest security
X25519 Curve25519 256 bits Binary Modern Curve25519 for key exchange
X448 Curve448 448 bits Binary High Modern Curve448 for high-security applications

Error Handling

All curve operations implement comprehensive error handling through the CurveException class:

API Reference

CurveInterface

All curve implementations follow the CurveInterface:

Available Methods

Security Considerations

Key Management

Implementation Security

Best Practices

Performance Considerations

Contributing

Please see CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

License

The MIT License (MIT). Please see License File for more information.


All versions of tls-crypto-curves with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-openssl Version *
paragonie/sodium_compat Version ^2.0
tourze/tls-common Version 0.0.*
tourze/tls-crypto-random Version 0.0.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tourze/tls-crypto-curves contains the following files

Loading the files please wait ...