Cleanup: only attempt require('crypto') in nodejs.