 This allows saving a previously encrypted buffer in plaintext."
   (interactive)
   (remove-hook 'write-file-functions
-               'aes-encrypt-current-buffer-check t)
+               'aes--encrypt-current-buffer-check t)
   (message "Encryption Hook removed."))
 
 (defun aes-auto-decrypt (&rest x)

          (aes-decrypt-buffer-or-string (current-buffer))
          (set-buffer-modified-p mod-flag)
          (add-hook 'write-file-functions
                    'aes-encrypt-current-buffer-check nil t))
      (aes-encrypt-buffer-or-string (current-buffer)))
    (goto-char p)))


;; For customizing this library, there is the customization group aes
;; in the applications group.

;; Emacs compatibility:
;; Version 24.4 and 24.5 are recommended
;; Version 24.3 should only be used, if the patch described in [11]
;; is applied, because there is a bug that causes passwords to be
;; shown in the minibuffer.
;; Versions 24.2 and earlier have not been tested in years.

;; This implementation allows additionally to the AES specification
;; blocklengths of 24 and 32 bytes.
