WebHooks: How to work hub.secret algorithm?

Which language you working in?