- Create a hash of "hello world" using PHP (using prearranged private salt)
- Put the hash and the plain text in two hidden form fields
- Form gets submitted via ajax to a Node.js server
Is there a native function in JS or a common (reliable) 3rd party script that I can use to accomplish this? I'd rather not invoke PHP from the Node server.