using cbc for plain text encryption