Group and Loop Algebras over Finite Fields