Skip to content

Commit

Permalink
some small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Brüll committed Mar 26, 2013
1 parent f82a212 commit f1f684c
Show file tree
Hide file tree
Showing 2 changed files with 553 additions and 1,005 deletions.
Expand Up @@ -17,7 +17,7 @@ import com.anyaku.test.integration.javascript.runInWorker
class RSAKeyPairTest() { class RSAKeyPairTest() {


test fun testKeyPairGeneration() { test fun testKeyPairGeneration() {
runInWorker("var rsa = new RSAKey(); rsa.generate(512, '00000003');") runInWorker("var rsa = new epdRoot.Crypt.Asymmetric.RSA.Key(); rsa.generate(512, '00000003');")


val modulus = runInWorker("rsa.n.toString(16);") as String val modulus = runInWorker("rsa.n.toString(16);") as String
val publicExponent = "00000003" val publicExponent = "00000003"
Expand Down

0 comments on commit f1f684c

Please sign in to comment.