Webpack 5+ requires you to polyfill certain libraries on your own, and this should be documented so those who utilize this library for things other than Node.js itself can more easily prepare this library to run in browser webapps and the like. @Spacerat has a variant of this repo that doesn't utilize nodecrypto so that version can be pointed to along with the webpack polyfill method for this one
Also, as this is #69, definitely a nice issue ehehe