enforced stricter key & IV checking