crypto-js is probably a better fit than crypto