added implementation of aes encryption