Download the PHP package mervick/aes-everywhere without Composer

On this page you can find all versions of the php package mervick/aes-everywhere. 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 aes-everywhere

AesBridge

NPM Version PyPI Version Gem Version NuGet Version Packagist Version Maven Central
CI Status

AesBridge is a modern, secure and cross-language AES encryption library that supports CBC, GCM, and Legacy CBC modes. The goal is to ensure secure, interoperable encryption across multiple platforms and programming languages.

It is the spiritual successor of the AES Everywhere project, with updated cryptography standards and cleaner APIs.

Features

Implementations

Encryption Modes

The following table compares the different encryption modes available in AesBridge, including their cryptographic primitives, key derivation, and output formats.

Mode Cipher Hash Algo KDF Iterations Output Structure Authentication
GCM AES-256-GCM SHA256 PBKDF2 100,000 salt(16) + nonce(12) + ciphertext + tag(16) GCM Tag (16 bytes)
CBC AES-256-CBC SHA256 PBKDF2 100,000 salt(16) + iv(16) + ciphertext + hmac(32) HMAC-SHA256 (32 bytes)
Legacy CBC (deprecated) AES-256-CBC MD5 Iterative MD5 N/A 'Salted__' + salt(8) + ciphertext None

Notes on the Table:

Mode Details

This comparison highlights the security improvements in modern modes (GCM and CBC) over the legacy mode, which is provided for compatibility purposes only. It is recommended to use GCM or CBC for new applications.

API Methods

Each implementation provides equivalent core methods with consistent behavior across languages. Method naming follows each language's conventions while maintaining functional parity.

Base name Mode Format Description
encrypt_gcm() GCM Base64 Encrypt with GCM, return Base64-encoded
decrypt_gcm() GCM Base64 Decrypt GCM Base64-encoded data
encrypt_gcm_bin() GCM Binary Encrypt with GCM, return binary
decrypt_gcm_bin() GCM Binary Decrypt GCM binary data
encrypt_cbc() CBC Base64 Encrypt with CBC, return Base64-encoded
decrypt_cbc() CBC Base64 Decrypt CBC Base64-encoded data
encrypt_cbc_bin() CBC Binary Encrypt with CBC, return binary
decrypt_cbc_bin() CBC Binary Decrypt CBC binary data
encrypt_legacy() Legacy CBC Base64 Do not use for encrypting new data. Encrypt with AES Everywhere legacy format, return Base64-encoded.
decrypt_legacy() Legacy CBC Base64 Decrypt with AES Everywhere legacy format, decrypts Base64-encoded data

Base name in the table shows the core functionality in snake_case format, but actual implementations follow language-specific conventions, for example:

Each implementation contains its own README with exact syntax and usage examples.

⚠️ Legacy encryption warning

This library provides full compatibility with the legacy AES Everywhere formats, including insecure cryptographic constructions. These are provided only to allow decryption of historical data.
We strongly discourage their use for any new encryption.

Security Recommendations

Cross-Language Compatibility

All AesBridge implementations guarantee:

Testing & Compatibility

Each language repository includes comprehensive automated CI tests that verify:

To ensure perfect interoperability, all implementations share:

The main repository includes automated CI tests that verify interoperability across all implementations by Round-Trip Encryption/Decryption:

This rigorous testing ensures bit-for-bit compatibility across all supported platforms.

Why not just use libsodium or OpenSSL directly?

AesBridge provides consistent, secure, and interoperable encryption across many languages, removing the need to reimplement crypto logic per platform. While libsodium/OpenSSL are great tools, they often differ in output formats, parameter ordering, and defaults. AesBridge solves that pain point.


All versions of aes-everywhere with dependencies

PHP Build Version
Package Version
No informations.
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 mervick/aes-everywhere contains the following files

Loading the files please wait ....