# Encryption Modulus and Exponent

**URL:** <https://www.ruby-forum.com/t/encryption-modulus-and-exponent/122340>\
**Category:** Rails\
**Created:** [December 6, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/encryption-modulus-and-exponent/122340 "2007-12-06T19:24:11Z")\
**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 6, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/encryption-modulus-and-exponent/122340/1 "2007-12-06T19:24:11Z")

</div>

Is there a way to get the modulus and exponent from an key, or is there  
a way to get that information as it is being encrypted? I am using the  
OpenSSL::PKey::RSA library to encrypt my data. Thanks,

-S
