use `crypto` on Node.js