diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2011-06-22 00:38:02 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2011-06-22 00:38:02 -0400 |
| commit | 67ac29115c84b447d0fddef406ba591691d069ef (patch) | |
| tree | 3b5117226639501c1254e79331480183fc87aaf0 /webclient/lib/alias.js | |
| parent | 571b3ce7234551b02bb8deca36b81177a5e256d3 (diff) | |
| download | alias-67ac29115c84b447d0fddef406ba591691d069ef.tar.gz | |
Added script to generate object
Proof of concept almost ready!
Diffstat (limited to 'webclient/lib/alias.js')
| -rw-r--r-- | webclient/lib/alias.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/lib/alias.js b/webclient/lib/alias.js index 8c4224a..c87e7dd 100644 --- a/webclient/lib/alias.js +++ b/webclient/lib/alias.js @@ -171,7 +171,7 @@ var Alias = { var encryptedKey = query.find('key').text(); var key = this.rsa.decrypt(encryptedKey); var encryptedContent = query.find('content').text(); - var content = sjcl.decrypt(key, encryptedContent); + var content = sjcl.decrypt(sjcl.codec.base64.toBits(key), encryptedContent); $('#profile').html(content); }, |
