AES SHA 区别

SHA is a family of “Secure Hash Algorithms” that have been developed by the National Security Agency. There is currently a competition among dozens of options for who will become SHA-3, the new hash algorithm for 2012+.

You use SHA functions to take a large document and compute a “digest” (also called “hash”) of the input. It’s important to realize that this is a one-way process. You can’t take a digest and recover the original document.

AES, the Advanced Encryption Standard is a symmetric block algorithm. This means that it takes 16 byte blocks and encrypts them. It is “symmetric” because the key allows for both encryption and decryption.

https://stackoverflow.com/questions/990705/whats-the-difference-between-sha-and-aes-encryption

http://www.cppblog.com/arthaslee/archive/2010/12/01/135186.html

https://www.quora.com/What-is-the-difference-between-SHA-2-and-AES

http://www.willrey.com/support/ssl_des.html