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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of package

package

Photo of tokens

tokens

Photo of pagination

pagination

Related news:

News photo

Llama 3.1 405B now runs at 969 tokens/s on Cerebras Inference

News photo

Intel Panther Lake to launch in second half of 2025, no more Memory on Package in future products

News photo

Cerebras Inference now 3x faster: Llama3.1-70B breaks 2,100 tokens/s