generateRSAKeys() {
    rsa = new RSAKey();
    rsa.generate(this.bits, this.exponent);
    publicKey = rsa.getPublicString(); // return json encoded string
    privateKey = rsa.getPrivateString(); // return json encoded string
  }
/**
   * @return {*The public key is json encoded string} publicKey
   * @return {*The private key is json encoded string}} privateKey
   */
@return {*The public key is json encoded string} publicKey
@return {*The private key is json encoded string}} privateKey
@return { * The public key is json encoded string } publicKey @return { * The private key is json encoded string }} privateKey
generateRSAKeys() {
    rsa = new RSAKey();
    rsa.generate(this.bits, this.exponent);
    publicKey = rsa.getPublicString(); 
    privateKey = rsa.getPrivateString(); 
  }
generateRSAKeys ( ) { rsa = new RSAKey ( ) ; rsa . generate ( this . bits , this . exponent ) ; publicKey = rsa . getPublicString ( ) ; privateKey = rsa . getPrivateString ( ) ; }
@return {*The public key is json encoded string} publicKey
 @return {*The private key is json encoded string}} privateKey
@return { * The public key is json encoded string } publicKey @return { * The private key is json encoded string }} privateKey
// return json encoded string // return json encoded string