encryption between JS and PHP passed test.