also, I wonder why you didn't include any crypted texts to your example.
this way the working would have proved easier.
now I just need to code a script that does encrypt&decrypt the same way.
doesn't still mean it's correct...
_________________________
!

download KiXnet