summaryrefslogtreecommitdiffstats
path: root/demo/example.js
diff options
context:
space:
mode:
authorSteve Thomas <Sc00bz@users.noreply.github.com>2015-11-01 14:36:28 -0600
committerSteve Thomas <Sc00bz@users.noreply.github.com>2015-11-01 14:36:28 -0600
commitdb7e40d449ab4ae65bacf267b38d1bf836b4fe54 (patch)
treef6f815673f56490c8ae3bfdc8ed9a5f4d9996f76 /demo/example.js
parent025908ef2b091faab75f60188654f789b691ff0d (diff)
parentf9a2494fae0dcddef493de453aa6ab69caa987cf (diff)
downloadsjcl-db7e40d449ab4ae65bacf267b38d1bf836b4fe54.zip
sjcl-db7e40d449ab4ae65bacf267b38d1bf836b4fe54.tar.gz
sjcl-db7e40d449ab4ae65bacf267b38d1bf836b4fe54.tar.bz2
Merge pull request #1 from bitwiseshiftleft/master
Update
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;