When you mention AES and RC4, these are known to be encryption ciphers. These are used for different types of applications. AES will make sure that it will be able to operate on discrete amounts of data.

In order to do this, there is a need to have a formula plus a fixed key. When you say RC4, this means that this is a stream cipher. This is not dependent on any block size.

AES stands for Advanced Encryption Standard while RC4 stands for Rivest Cipher 4. The RC4 is considered to be very simple and it can be used fast but there are some vulnerabilities that can make AES more stable for now.

Both the AES and RC4 are encryption ciphers. However, AES is actually new, and it is very complex, RC4 is relatively old, and it is very simple and basic. A very significant difference between the two is actually their type. AES is a block cipher that operates on discrete blocks of data by the use of a fixed key and a formula, on the other hand, RC4 is a stream cipher that does not have any discrete block size.

Instead of that, it uses a keystream of pseudo-random bits, which is combined with the data by the use of an exclusive OR (or XOR) operation. Block ciphers can be used as stream ciphers and vice versa. But it is quite well known that RC4 is not very effective when used as a block cipher. RC4 is not as secure as AES. RC4 is trademarked because it was initially considered a trade secret, but AES is not.