Aiming at the problems of small key space and weak resistance to differential attacks in existing encryption algorithms. we proposed a chaotic digital image encryption scheme based on an optimized artificial fish swarm algorithm and DNA coding. First. the key is associated with the ordinary image pixel through the MD5 hash operation. https://www.knowall.blog/