fix RSA encryption as per https://github.com/digitalbazaar/forge/issues/37#issuecomment-18066641