diff --git a/js/webcrypto.js b/js/webcrypto.js
index <HASH>..<HASH> 100644
--- a/js/webcrypto.js
+++ b/js/webcrypto.js
@@ -30,7 +30,7 @@
                 assertIsArrayBuffer(key);
                 assertIsArrayBuffer(input);
                 return CryptoJS.HmacSHA256(
-                    CryptoJS.lib.WordArray.create(input),
+                    CryptoJS.enc.Latin1.parse(getString(input)),
                     CryptoJS.enc.Latin1.parse(getString(key))
                 ).toString(CryptoJS.enc.Latin1);
             };
Fix cryptojs hmac implementation

Apparently the bowerized version of cryptojs's WordArray.create doesn't
handle arraybuffers correctly.