added init vector to cipher