Browser implementation: use crypto module name instead of pointer to getRandomValues to avoid "Invalid Invocation" errors