lets say i would like to encypt something then insert it into a db and then to the right user, decrypt it. ive used one way algos like md5 hashes and what not but dont know how to go about to do a 2 way
thanks
Take a look at the Mcrypt functions