handle both old and new hexdigest formats in cached_get
Merge pull request #24 from jsatt/master

handle both old and new hexdigest formats in cached_get