Constructor that generates RSA keys with the specified number of bits. @param bits The bit length of the keys to be generated. Common sizes include 512, 1024, 2048, etc.
(int bits)
| 38 | * @param bits The bit length of the keys to be generated. Common sizes include 512, 1024, 2048, etc. |
| 39 | */ |
| 40 | public RSA(int bits) { |
| 41 | generateKeys(bits); |
| 42 | } |
| 43 | |
| 44 | /** |
| 45 | * Encrypts a text message using the RSA public key. |
nothing calls this directly
no test coverage detected