Hi @jedisct1! What is the idea of randombytes_uniform returning 0 when upper_limit < 2, instead of causing some sort of error? Was a bit surprised, so do you want a PR for documentation? Relevant lineshttps://github.com/jedisct1/libsodium/blob/master/src/libsodium/randombytes/randombytes.c#L136-L138 …
-
-
Yes that's why I was a bit surprised, since that doesn't seem very random, haha. But I guess this is a question of definition more than there being definitive a right or wrong
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.