1 - Prepare a token in json format {"session_id": e6e9c56e-a7da-43b8-89fa-8e668cc0b86f,"ts_ms":1421774317718}
Ok, fine ...
2 - Encrypt it with your site secret, after encryption it looks like this:
"Fg2rtWDZ6kf_Cc1fZs5xKJWnkkVvZgNCF-5fVhPS5_r1fB2NRXPg3WobIUUsyOvfN-ElyBz3zz29lK5v9NE0ByWrGzicUWecnoV8hwSb6W4"
Right .... the problem is, how do you encrypt your token with your private key ?
Google's guide only provides examples in Java on Github... and i've been searching on the web for a simple and neat explanation without success ...
Does anyone knows a tutorial or guide for PHP users ?
Mr Larry Page, if you ever read my request ( :-) ), could one of your top developper could add more information in the secure token section, that would be greatly appreciated ;-)
For now, i'm keeping an eye on this post on Stackoverflow, hoping for a solution :
http://stackoverflow.com/questions/31478724/how-to-generate-a-google-recaptcha-v2-secure-token-with-php