improve kaesar-mode
clear cache if decryption failed.