Get the latest tech news
Hyrumtoken: A Go package to encrypt pagination tokens
A Golang package to encrypt your pagination tokens - ssoready/hyrumtoken
hyrumtoken is a Go package to encrypt pagination tokens, so that your API clients can't depend on their contents, ordering, or any other characteristics. By making an API that looked like it wanted to let you "seek" through the data, I had invited my colleagues to design and implement a user interface that I had no plans to support. That way, your customer probably sees they're wrong to assume "tokens never expire" while they're still developing their software, and that assumption is still easy to undo.
Or read this on Hacker News