aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/test.js
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2011-05-20 01:28:09 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2011-05-20 01:28:09 -0400
commitff79cfce0fed38375b8ff459c66648ec014bf4c6 (patch)
tree869d0ddc747986d0cb47ce8300ad59d379071b08 /crypto/test.js
parent3565d0c362646d681cbac605924fcf7984b05a92 (diff)
downloadalias-ff79cfce0fed38375b8ff459c66648ec014bf4c6.tar.gz
Rewrote the objects storage engine
objects are stored under each user's directory to make zaran happy.
Diffstat (limited to 'crypto/test.js')
-rw-r--r--crypto/test.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/test.js b/crypto/test.js
index 6924648..91c0dc4 100644
--- a/crypto/test.js
+++ b/crypto/test.js
@@ -17,5 +17,7 @@ key.readPrivateKeyFromPEMString(key_string)
cypher = key.encrypt("Guillaume est plus fort que Thibaut")
test = key.decrypt(cypher)
+key2 = new RSAKey()
+key2.generate(2048,"10001")