Li4n0 / hugo_encryptor

A tools for encrypting hugo posts
155 stars 28 forks source link

Failed to decrypt #26

Open J00kis opened 2 years ago

J00kis commented 2 years ago

Hello,

Setup as instructed, console gives error:

decrypt.js:34 Error: Malformed UTF-8 data at Object.stringify (crypto-js.js:478:24) at WordArray.init.toString (crypto-js.js:215:38) at _do_decrypt (decrypt.js:10:27) at _click_handler (decrypt.js:32:21) at HTMLInputElement.onclick ((index):69:108) _click_handler @ decrypt.js:34 onclick @ (index):69

tried set site params

hugoEncryptorLanguage = "en-us"

and without it

haven't change any other settings or values.

Gives error other browsers too