Encrypt string with php decrypt with flash

Is any one aware of a good method of doing this?