se = document.getElementById('staticrypt-password').value;

  try{
    var plainHTML = CryptoJS.AES.decrypt(encryptedMsg, passphrase).toString(CryptoJS.enc.Utf8);
  }
  catch(err) {
    document.getElementById("error").innerHTML = "Wrong keyword entry.";
    return;
  }

  sessionStorage.setItem("password", passphrase);
  document.write(plainHTML);
  document.close();
});
  </script>
  </body>
</html>
