Example #1
0
function encode($value, $key = null)
{
    $c = new crypt();
    if ($key) {
        $par['key'] = $key;
    }
    return $c->encode($value, $par);
}