This may not solve your problem, but doesn't that crypto package you're playing with include minified versions of the files that are a lot smaller? That might make it possible to handle with without piping anything.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
This may not solve your problem, but doesn't that crypto package you're playing with include minified versions of the files that are a lot smaller? That might make it possible to handle with without piping anything.