AES connection to crypto
added AES to encryptBufferB