Attached is a PHP class that encrypts and decrypts string, I need that converted to a Ruby class (or simply seperate functions)
This should not be a long job, here are some testing values:
Clg0ic571E <-> rbfls51SY7vgXoVPOxOSSVxIVON3A+FjTK0Xs/jW
41i8S7Ytdq <-> vd8lbUW1LNmbsfdxjB2lAY9Lb5kQNi+1rh40ktYN
The hash key used for those is the following:
That should be all you need in order to create the encrypt and decrypt function.
Attached is the class.