Characters and cohomology of finite groups