Hello, Mau:
Please, tell me wich PHP version are you using. Should be good to have a bit more info about your environment: Apache?, Linux, Mac or Windows server?
You can try the form encryption class in this url:
alboran.net/aplicaciones/cryptoPost
...