A survey of some applications of finite fields