In this article a novel encryption scheme based on memristive hyperchaotic system was proposed. Firstly, combined with SHA-512 hash function and plain image, key sequences can be generated by iterating the memristive hyperchaotic system. Then, permutation operation and diffusion operation are performed for each row and column of the plain image. Finally, a serious of simulation experiments are conducted to evaluate the proposed encryption scheme, showing that the proposed scheme has well performance. Further, NIST SP800-22 test results show that the randomness of the hyperchaotic pseudorandom sequence used by the algorithm is better than the general linear congruence pseudorandom sequence.