Leveraging the particle platform's crypto libraries for user code?

this may help