iv_gen: Mask sequential IVs with a random salt