summaryrefslogtreecommitdiffstats
path: root/demo/example.js
diff options
context:
space:
mode:
Diffstat (limited to 'demo/example.js')
-rw-r--r--demo/example.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/example.js b/demo/example.js
index 940402b..42b1c0e 100644
--- a/demo/example.js
+++ b/demo/example.js
@@ -108,7 +108,7 @@ function doDecrypt() {
}
v.mode = rp.mode;
v.iv = rp.iv;
- v.adata = rp.adata;
+ v.adata = sjcl.codec.utf8String.fromBits(rp.adata);
if (v.password) {
v.salt = rp.salt;
v.iter = rp.iter;