Generating RSA keys server side for http-signatures

What’s the best way to do this in meteor? I’m looking for a built-in crypto library with an RSA function, but I can’t seem to find one. :confused:

Edit: To clarify, I’m pretty sure I found a library for http signatures, but I still need to generate the keys to sign them with.

Edit Edit: Should I just use a pure javascript encryption library, instead of looking for something that uses web workers or the like? I’d heard those were too inefficient, but I’m not generating keys very often, so maybe that will work fine for me. :confused: