crypto: Fix bug: When calling randomBytes, need require("crypto").