Fixed #631 -- deprecate all of OpenSSL.rand (#658)

* Fixed #631 -- deprecate all of OpenSSL.rand

* syntax fix

* flake8
4 files changed