logoalt Hacker News

ajbyesterday at 9:41 PM0 repliesview on HN

At a guess, you can reuse the entropy part, but you'd need to plug in a new probability distribution.