diff --git a/demo/example.js b/demo/example.js index db1d572..940402b 100644 --- a/demo/example.js +++ b/demo/example.js @@ -80,7 +80,7 @@ function doEncrypt() { v.ciphertext = ct; v.adata = ''; } else { - v.ciphertext = ct.match(/ct:"([^"]*)"/)[1]; //" + v.ciphertext = ct.match(/"ct":"([^"]*)"/)[1]; //" } v.plaintext = '';