, 1024, "check padded message length 512byte*2chars=1024chars");
  equal(hPM, hExpected,
         "check padded message for string aaa with SHA1withRSA 4096bit" );
});

//=========================================================================
module("Signature Test");

test("RSAKey.sign(aaa,sha1)", function() {
  expect(2);

  var rsa = new RSAKey();
  rsa.setPrivateEx(k_n, k_e, k_d, k_p, k_q, k_dp, k_dq, k_co);
  equal(rsa.n.bitLength(), 1024, "check key size");

  //var hSig = rsa.signStringWithSHA1("aa