Refactored AES, DES and TripleDES