I haven't done this, but it shouldn't be too hard to use. There is actually already a version in the Espruino repository because it's used for the Puck.js firmware updater: https://github.com/espruino/Espruino/tree/master/targetlibs/nrf5x/external
There's some really good info on writing your own modules here now as well: http://www.espruino.com/Extending+Espruino+1
What specific functionality did you want? There is the Crypto library available for some common things.
@Gordon started
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.
I haven't done this, but it shouldn't be too hard to use. There is actually already a version in the Espruino repository because it's used for the Puck.js firmware updater: https://github.com/espruino/Espruino/tree/master/targetlibs/nrf5x/external
There's some really good info on writing your own modules here now as well: http://www.espruino.com/Extending+Espruino+1
What specific functionality did you want? There is the Crypto library available for some common things.