code: function RSASetPublic(N, E) {
      this.isPublic = true;
      this.isPrivate = false;
      if (typeof N !== "string") {
  	this.n = N;
  	this.e = E;
      } else if(N != null && E != null && N.length > 0 && E.length > 0) {
  	this.n = parseBigInt(N,16);
  	this.e = parseInt(E,16);
      } else {
  	throw "Invalid RSA public key";
      }
  }
docs: Set the public key fields N and e from hex strings