AES implementation, a bit; equals & hashcode