Signing and verifying with byte arrays
diff --git a/js/securityLib/rsa2.js b/js/securityLib/rsa2.js
index e1f3f27..d75814e 100644
--- a/js/securityLib/rsa2.js
+++ b/js/securityLib/rsa2.js
@@ -57,7 +57,9 @@
     alert("Invalid RSA private key");

 }

 

-// Generate a new random private key B bits long, using public expt E

+/**

+ * Generate a new random private key B bits long, using public expt E

+ */

 function RSAGenerate(B,E) {

   var rng = new SecureRandom();

   var qs = B>>1;

@@ -91,7 +93,10 @@
   }

 }

 

-// Perform raw private operation on "x": return x^d (mod n)

+/**

+ * Perform raw private operation on "x": return x^d (mod n)

+ * @return x^d (mod n)

+ */ 

 function RSADoPrivate(x) {

   if(this.p == null || this.q == null)

     return x.modPow(this.d, this.n);