Added CBC encryption