//>>built define(["dojo/_base/kernel","dojo/_base/declare","../../math/BigInteger","../../math/random/Simple"],function(g,h,e,k){g.experimental("dojox.encoding.crypto.RSAKey");var l=function(){return new k};return h("dojox.encoding.crypto.RSAKey",null,{constructor:function(b){this.rngf=b||l;this.e=0;this.n=this.d=this.p=this.q=this.dmp1=this.dmq1=this.coeff=null},setPublic:function(b,a){if(b&&a&&b.length&&a.length)this.n=new e(b,16),this.e=parseInt(a,16);else throw Error("Invalid RSA public key");},encrypt:function(b){var a; a=this.n.bitLength()+7>>3;var c=this.rngf;if(a