# Documentation for OpenSSL

**URL:** <https://www.ruby-forum.com/t/documentation-for-openssl/122437>\
**Category:** Rails\
**Created:** [December 7, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/documentation-for-openssl/122437 "2007-12-07T16:20:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [December 7, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/documentation-for-openssl/122437/1 "2007-12-07T16:20:49Z")

</div>

I need to figue out how to calculate the modulus, exponent and base -  
the parts that make up a key for encryption and I was just wondering if  
someone knows where I can find good documention for OpenSSL::PKey::RSA.  
I know about [RDoc Documentation](http://www.ruby-doc.org/stdlib/) but there seems to be a lot  
missing from this documention. For example, for RSA I know about has two  
data members n, e for modulus and exponent but I need to find the base.  
But n and e are not listed in the documention. In fact, I can’t even  
find OpenSSL::PKey::RSA in the documention. Thanks for any help,

-S
