logoalt Hacker News

lixtrayesterday at 7:51 PM1 replyview on HN

> 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.


Replies

octoberfranklinyesterday at 8:33 PM

djbsort is constant-time.

Because most post-quantum cryptosystems need this primitive.

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