AES and SHA-256 are used with other purposes: AES is encrypted (confidentiality), SHA-256 is hashed (integrity). Which is not better, military grade encryption is used together in secure systems.