kivra/oauth2 — pull request #1 by mtornwall (2012-09-16 09:31:30+00:00)
Title: Use stronger random generator when possible

These two commits switch from using the `crypto:rand_bytes` function to using the stronger `crypto:strong_rand_bytes` when possible. The latter may throw `low_entropy`; this potential problem is handled by falling back on the weaker sibling if necessary.