Native Node.js crypto

This adds support for using native crypto while running in Node.js.