Finite Frobenius Rings and Their Applications