Hacker News new | ask | show | jobs
by lixtra 55 days ago
> The cleanest mitigation is to return results in a canonical order, such as lexicographic sorting.

And hope that the sorting time cannot be used as a side channel.

1 comments

djbsort is constant-time.

Because most post-quantum cryptosystems need this primitive.

https://sorting.cr.yp.to/