AES Key Wrap for PHP.

v6.0.0 2020-08-01 14:07 UTC


Scrutinizer Code Quality Coverage Status

Build Status


Latest Stable Version Latest Unstable Version Total Downloads License

This library provides an implementation of the RFC 3394 (Advanced Encryption Standard (AES) Key Wrap Algorithm) and the RFC 5649 (Advanced Encryption Standard (AES) Key Wrap with Padding Algorithm).

The Release Process

The release process is described here.


This library needs at least PHP 7.1. It has been successfully tested using PHP 7.1, PHP 7.2 and HHVM.

For PHP 5.4+, please use the version 3.x of this library.


The preferred way to install this library is to rely on Composer:

composer require spomky-labs/aes-key-wrap

How to use

Take a look at How to use to use this library.


I bring solutions to your problems and answer your questions.

If you really love that project and the work I have done or if you want I prioritize your issues, then you can help me out for a couple of 🍻 or more!

Become a Patreon


Requests for new features, bug fixed and all other ideas to make this library useful are welcome. Please follow these best practices.


This software is release under MIT licence.