From b2c03bde799ed025ca24ba2d759cb2108a0efaaa Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 4 Apr 2012 21:17:25 +0530 Subject: [PATCH] ... --- src/calibre/library/server/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/server/utils.py b/src/calibre/library/server/utils.py index db90e42fe7..b69d3e6a72 100644 --- a/src/calibre/library/server/utils.py +++ b/src/calibre/library/server/utils.py @@ -93,7 +93,7 @@ class AuthController(object): self.cookie_name = 'android_workaround' def hashit(self, raw): - return hashlib.sha1(raw).hexdigest() + return hashlib.sha256(raw).hexdigest() def __call__(self, func, allow_cookie_auth):