Chaotic cosine and logistic map based robust image encryption with dual-stage confusion–diffusion architecture | Synapse