It sure is possible...but its unlikely you will get anyone to paste code smile I would help you out...if you posted the encrypted part $_[0] and the $result so I can check my code and make sure it works correctly.