Added controller method generateDigests()