https://developer.twitter.com/en/docs/basics/authentication/guides/creating-a-signature
The details of the algorithm are explained hash_hmac function.
hash_hmac
The “hash_hmac” link doesn’t have a target. There’s also a typo, “are explained IN THE… function”.
The best place to post errors and typos is on the document itself. At the bottom of each page is a feedback button that asks you if there’s any missing information/typos/etc.
Thanks so much for brining this to our attention. We’re in the process of making some adjustments to our documentation and this is very helpful. We’ll take a look at this shortly and make any adjustments needed.