note history decryption now works, more cleanup

This commit is contained in:
azivner
2017-11-14 22:21:56 -05:00
parent ff411f00b1
commit 0a0421ec7e
10 changed files with 63 additions and 1083 deletions

View File

@@ -71,7 +71,7 @@
<a onclick="encryption.protectNoteAndSendToServer()"
title="Encrypt the note so that password will be required to view the note"
class="icon-action"
id="encrypt-button"
id="protect-button"
style="display: none;">
<img src="images/icons/lock.png" alt="Encrypt note"/>
</a>
@@ -79,7 +79,7 @@
<a onclick="encryption.unprotectNoteAndSendToServer()"
title="Decrypt note permamently so that password will not be required to access this note in the future"
class="icon-action"
id="decrypt-button"
id="unprotect-button"
style="display: none;">
<img src="images/icons/unlock.png" alt="Decrypt note"/>
</a>
@@ -267,11 +267,6 @@
<script src="libraries/jquery.ui-contextmenu.min.js"></script>
<!-- https://github.com/ricmoo/aes-js -->
<script src="libraries/aes.js"></script>
<!-- https://github.com/emn178/js-sha256 -->
<script src="libraries/sha256.min.js"></script>
<!-- https://github.com/ricmoo/scrypt-js -->
<script src="libraries/scrypt/scrypt.js"></script>
<script src="libraries/scrypt/buffer.js"></script>
<script src="libraries/scrypt/setImmediate.js"></script>