Text this: A New Image Encryption Method Using an Optimized Smart Codebook