Node-specific implementation

Use the native Crypto object if running on a Node.js platform