hi,
i need to save some strings to the DB and i would like to encode them [people accessing the DB should not be able to read the data]. i dont need some very fancy algorithm neither i need compression, i just need a function which will do encode/decode thing, like this:
$x = encode("hello how are you?", "pass");
$x is now "jd0430$$jkcnv3k09 32ni32";
$y = decode($x, "pass");
$y is now "hello how are you?"
thanks!