Converting from Legacy DES Algorithm to AES