Add measures and tests.
[crypto_lab3.git] / src / RsaStd.h
index ea348bf..27f73ad 100644 (file)
@@ -16,6 +16,10 @@ public:
 
    static std::pair<Rsa::KeyPub, KeyPriv> generateRSAKeys(uint exponent, uint keySizeBits);
 
+   /**
+    * Return m^d (mod n).
+    * m must not be greater or equal than kPriv.n.
+    */
    static mpz_class sign(const mpz_class& m, const KeyPriv& kPriv);
 };