My favorites | Sign in
Project Logo
                
Code license: New BSD License
Labels: crypto, string, php
Show all Featured downloads:
cryptstring-0.2.tar.gz
Feeds:
People details
Project owners:
  darkkiller, gmclee

Very simple PHP functions for encrypting and signing (and reverse, decrypting and verifying) on string under BSD license.

For quick start:

define('CS_SECRET', '1234567890'); // choose a long and random string

string cs_sign(string $str);
bool cs_sign_check(string $str);

string cs_encrypt(string $str);
string cs_decrypt(string $str);

string cs_encode(string $str); // encrypt and sign
string cs_decode(string $str); // sign check then decrypt, if fail then return FALSE








Hosted by Google Code