A locally active hyperbolic memristor which can generate the bistability phenomenon is presented. Based on the memristor, a HR-FN-HR neural network coupled by hyperbolic memristors is composed. By theoretical calculation and mathematical simulation, the complex dynamical behavior of memristors-based neural network is discovered, and the equivalent circuit of neural network is realized. The Hamiltonian energy of the coupled neural network is calculated, which estimates the energy released during the transition between various electrical activities. In addition, a new image encryption scheme is presented, which is the Knuth-Durstenfeld algorithm combined with DNA sequence operation. The encryption results show that the scheme has better encryption effect and stronger anti-hacking ability, which can be used in the domain of secure communication.