Merge branch 'remove-deprecated-rand-and-crypto'

Fixes #5