A novel memristor-based chaotic image encryption algorithm with Hash process and S-box