added cbc encryption and decryption functions for 256 and 1024 bit state sizes