The AES algorithm was the first public key encryption algori…