diff --git a/aes.py b/aesutil.py similarity index 100% rename from aes.py rename to aesutil.py diff --git a/buffer/aes.py b/buffer/aes.py index e0b60cb..18d2934 100644 --- a/buffer/aes.py +++ b/buffer/aes.py @@ -1,4 +1,4 @@ -import aes +import aesutil from buffer import FileBuffer class AesBuffer(FileBuffer): @@ -6,7 +6,7 @@ class AesBuffer(FileBuffer): def __init__(self, path, password, name=None): '''ab = AesBuffer(path, password)''' FileBuffer.__init__(self, path, name) - self.crypter = aes2.Crypter(password) + self.crypter = aesutil.Crypter(password) def read_filter(self, data): return self.crypter.decrypt(data) def write_filter(self, data):