2017 © Pedro Peláez
 

library xxtea

XXTEA is a fast and secure encryption algorithm. This is a XXTEA library for PHP.

image

xxtea/xxtea

XXTEA is a fast and secure encryption algorithm. This is a XXTEA library for PHP.

  • Wednesday, March 2, 2016
  • by andot
  • Repository
  • 6 Watchers
  • 70 Stars
  • 2,078 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 31 Forks
  • 3 Open issues
  • 4 Versions
  • 6 % Grown

The README.md

XXTEA for PHP

XXTEA logo , (*1)

Build Status Packagist Packagist Download License, (*2)

Introduction

XXTEA is a fast and secure encryption algorithm. This is a XXTEA library for PHP., (*3)

It is different from the original XXTEA encryption algorithm. It encrypts and decrypts string instead of uint32 array, and the key is also string., (*4)

Installation

Download the xxtea.php, and put it in your develepment directory., (*5)

Usage

<?php
    require_once("xxtea.php");
    $str = "Hello World! 你好,中国!";
    $key = "1234567890";
    $encrypt_data = xxtea_encrypt($str, $key);
    $decrypt_data = xxtea_decrypt($encrypt_data, $key);
    if ($str == $decrypt_data) {
        echo "success!";
    } else {
        echo "fail!";
    }
?>

The Versions

02/03 2016

dev-master

9999999-dev https://github.com/xxtea/xxtea-php

XXTEA is a fast and secure encryption algorithm. This is a XXTEA library for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.2.0

 

The Development Requires

library security encrypt decrypt cryptography crypt xxtea

02/03 2016

v1.0.2

1.0.2.0 https://github.com/xxtea/xxtea-php

XXTEA is a fast and secure encryption algorithm. This is a XXTEA library for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.2.0

 

The Development Requires

library security encrypt decrypt cryptography crypt xxtea

13/02 2016

v1.0.1

1.0.1.0 https://github.com/xxtea/xxtea-php

XXTEA is a fast and secure encryption algorithm. This is a XXTEA library for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.2.0

 

The Development Requires

library security encrypt decrypt cryptography crypt xxtea

13/02 2016

v1.0.0

1.0.0.0 https://github.com/xxtea/xxtea-php

XXTEA is a fast and secure encryption algorithm. This is a XXTEA library for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.2.0

 

library security encrypt decrypt cryptography crypt xxtea