A dual-mode thumbnail-preserving encryption scheme based on chaotic system and reversible data hiding | Synapse