Did some modifications in the downloads page (and re-encrypt again)

This commit is contained in:
Andrew Lee 2018-10-28 18:17:09 -04:00
parent 621436d7e2
commit 3242754f88

View file

@ -6139,7 +6139,7 @@
e.preventDefault();
var passphrase = document.getElementById('staticrypt-password').value,
encryptedMsg = 'ae1ba5d0373c82aa4408d607c14aa81b4fb4e3931fd9e285ca77115b47d3bc3bU2FsdGVkX19YBx/+pzyTXASZRdmtTcTdPlBZDio+3CtDrxShGze5P/gbDeAZ/xrEVzrwFmaGjZOgebfPtJt4bqU7nc94+0g2LeDfh0OdM7Eh0nBQXuLMb1KZaAXhQStf32I8MUQVNWzAjPXRRyg1m1bcE+3Ol2Edk0IaWHV0f8+CirrKiuywbqJR+DsrPIUbzt2GpbAGXlK69wthU9y3NcjIhaPCHBL0XtYMOWwiLHplmqm0x0gml00wM3TN+cb3pWuotKVS9cMqGlSVg0wtQL6nMx1N+5XGUTp8Xzk9++9CeFBhPlhY9nuUkOEK3TLGgB7cRYytqDH0SZedU4zvjIJNFTSwcfWMHgonXHshpV0V7XT5tosBI2ewODkscLjMa3oND0Vn6Yeh7y1t2KfNjhE0WD+xFT6c8YtTpzuO5A++8IPvkImLfEEgMpl7Mf54z3N/a5Iw2E1vhTZ0TQcrWQYiN6j6dhrzx03vrJ1diMlxsgW+yTYotcwi/twQqAF2d/oserMvYzP//oLeo9AzQTi3R1ElmxL1egV8wL+gIHVQdwyYuEG8x7svX1ZxQ4OihdJyYWUwFJwVp3qe5p7akVvRszm/4ccTss4gVLkx9RsTQ1+NEerQdhalI9MXhsa1GaWAPfN7XqHb7u3k2Hw0ELhGLhvTrAgCtpWgkgeYFICw4O6DKr1zHKxnOXoXqaDwnh15AccjGeeR71DyyxCjbDEKCGFNu/9HStruAXiVJDigLBpzDjr5shBBGJWYSgp1gLEU2zsItoDRA+Z6/vtQ6KwAFsPhRINXB5Gf8v4MF6ug6WxFYfB8IJxHdxPqrAHfY8g2tQSD87mSjMeR+Q5N3rrlS4RFhdUUt317OlSWD7R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encryptedMsg.substring(0, 64),
encryptedHTML = encryptedMsg.substring(64),
decryptedHMAC = CryptoJS.HmacSHA256(encryptedHTML, CryptoJS.SHA256(passphrase).toString()).toString();