verified that cbc encryption was working too